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

Function tokens

lib/tokenize.h:606–608  ·  view source on GitHub ↗

Implement tokens() as a wrapper for convenience when using the TokenList

Source from the content-addressed store, hash-verified

604 TokenList list;
605 // Implement tokens() as a wrapper for convenience when using the TokenList
606 const Token* tokens() const {
607 return list.front();
608 }
609
610 Token* tokens() {
611 return list.front();

Callers 5

simplifyTokens1Method · 0.85
validateCMethod · 0.85
validateMethod · 0.85
reportUnknownMacrosMethod · 0.85
findGarbageCodeMethod · 0.85

Calls 1

frontMethod · 0.80

Tested by

no test coverage detected