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

Function isQualifier

lib/tokenlist.cpp:681–686  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

679}
680
681static bool isQualifier(const Token* tok)
682{
683 while (Token::Match(tok, "&|&&|*"))
684 tok = tok->next();
685 return Token::Match(tok, "{|;");
686}
687
688/**
689 * @throws InternalError thrown if maximum AST depth is exceeded

Callers 3

compileMulDivFunction · 0.85
compileAndFunction · 0.85
compileLogicAndFunction · 0.85

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected