MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / flattenConditions

Method flattenConditions

lib/programmemory.cpp:1349–1352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1347 }
1348
1349 static std::vector<const Token*> flattenConditions(const Token* tok)
1350 {
1351 return astFlatten(tok, tok->str().c_str());
1352 }
1353 static bool sortConditions(std::vector<const Token*>& conditions)
1354 {
1355 if (std::any_of(conditions.begin(), conditions.end(), [](const Token* child) {

Callers

nothing calls this directly

Calls 2

astFlattenFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected