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

Function isUnevaluated

lib/astutils.cpp:3762–3765  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3760}
3761
3762bool isUnevaluated(const Token *tok)
3763{
3764 return Token::Match(tok, "alignof|_Alignof|_alignof|__alignof|__alignof__|decltype|offsetof|sizeof|typeid|typeof|__typeof__ (");
3765}
3766
3767static std::set<MathLib::bigint> getSwitchValues(const Token *startbrace, bool &hasDefault)
3768{

Callers 15

isPointerDeRefMethod · 0.85
checkFileUsageMethod · 0.85
checkScopeForVariableMethod · 0.85
checkExprMethod · 0.85
checkIfForWhileHeadMethod · 0.85
checkRhsMethod · 0.85
valueFlowUninitMethod · 0.85
updateRecursiveMethod · 0.85
traverseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected