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

Function findIncompleteVar

lib/valueflow.cpp:3318–3325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3316}
3317
3318static const Token* findIncompleteVar(const Token* start, const Token* end)
3319{
3320 for (const Token* tok = start; tok != end; tok = tok->next()) {
3321 if (tok->isIncompleteVar())
3322 return tok;
3323 }
3324 return nullptr;
3325}
3326
3327static ValueFlow::Value makeConditionValue(long long val,
3328 const Token* condTok,

Callers 1

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected