MCPcopy Create free account
hub / github.com/beefytech/Beef / RemoveCond

Method RemoveCond

IDEHelper/DebugTarget.cpp:2626–2642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2624 }
2625
2626 void RemoveCond(int& idx, bool doRemove)
2627 {
2628 if (doRemove)
2629 {
2630 if (mMatchStartIdx == -1)
2631 mMatchStartIdx = idx;
2632 }
2633 else
2634 {
2635 if (mMatchStartIdx != -1)
2636 {
2637 mVec->RemoveRange(mMatchStartIdx, idx - mMatchStartIdx);
2638 idx = mMatchStartIdx;
2639 mMatchStartIdx = -1;
2640 }
2641 }
2642 }
2643
2644 void Finish()
2645 {

Callers 1

RemoveTargetDataMethod · 0.80

Calls 1

RemoveRangeMethod · 0.45

Tested by

no test coverage detected