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

Function isNestedInLambda

lib/checkcondition.cpp:622–630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622static bool isNestedInLambda(const Scope* inner, const Scope* outer)
623{
624 while (inner && inner != outer) {
625 if (inner->type == ScopeType::eLambda)
626 return true;
627 inner = inner->nestedIn;
628 }
629 return false;
630}
631
632void CheckConditionImpl::multiCondition2()
633{

Callers 1

multiCondition2Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected