MCPcopy Create free account
hub / github.com/Tencent/TscanCode / conditionIsTrue

Function conditionIsTrue

trunk/lib/valueflow.cpp:187–201  ·  view source on GitHub ↗

* Is condition always true when variable has given value? * \param condition top ast token in condition * \param programMemory program memory */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getProgramMemoryFunction · 0.85
valueFlowForwardFunction · 0.85
valueFlowForLoopSimplifyFunction · 0.85

Calls 4

executeFunction · 0.85
astOperand1Method · 0.80
astOperand2Method · 0.80
strMethod · 0.45

Tested by

no test coverage detected