MCPcopy Create free account
hub / github.com/cseagle/blc / negateCondition

Method negateCondition

block.cc:294–300  ·  view source on GitHub ↗

Flip the order of outgoing edges (at least). This should also affect the original op causing the condition. Note: we don't have to flip at all levels of the hierarchy only at the top and at the bottom \param toporbottom is \b true if \b this is the top outermost block of the hierarchy getting negated \return \b true if a change was made to data-flow

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 6

ruleBlockOrMethod · 0.45
ruleBlockProperIfMethod · 0.45
ruleBlockGotoMethod · 0.45
ruleBlockIfNoExitMethod · 0.45
ruleBlockWhileDoMethod · 0.45
ruleBlockDoWhileMethod · 0.45

Calls 1

flipFlagMethod · 0.80

Tested by

no test coverage detected