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

Function getTokenAfterAttributes

lib/tokenize.cpp:9479–9484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9477}
9478
9479static Token* getTokenAfterAttributes(Token* tok, bool gccattr) {
9480 Token* after = tok;
9481 while (isAttribute(after, gccattr))
9482 after = after->linkAt(1)->next();
9483 return after;
9484}
9485
9486static Token* getVariableTokenAfterAttributes(Token* tok) {
9487 Token *vartok = nullptr;

Callers 2

getAttributeFuncTokMethod · 0.85

Calls 3

isAttributeFunction · 0.85
nextMethod · 0.80
linkAtMethod · 0.80

Tested by

no test coverage detected