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

Method simplifyVarDecl

lib/tokenize.cpp:7331–7334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7329}
7330
7331void Tokenizer::simplifyVarDecl(const bool only_k_r_fpar)
7332{
7333 simplifyVarDecl(list.front(), nullptr, only_k_r_fpar);
7334}
7335
7336// cppcheck-suppress functionConst - has side effects
7337void Tokenizer::simplifyVarDecl(Token * tokBegin, const Token * const tokEnd, const bool only_k_r_fpar)

Callers

nothing calls this directly

Calls 13

isCPPFunction · 0.85
findLambdaEndScopeFunction · 0.85
isFunctionPointerFunction · 0.85
frontMethod · 0.80
nextMethod · 0.80
linkAtMethod · 0.80
insertTokenMethod · 0.80
simpleMatchFunction · 0.70
isCFunction · 0.70
tokAtMethod · 0.45
strMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected