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

Function front

lib/tokenlist.h:121–123  ·  view source on GitHub ↗

get first token of list */

Source from the content-addressed store, hash-verified

119
120 /** get first token of list */
121 const Token *front() const {
122 return mTokensFrontBack->front;
123 }
124 // NOLINTNEXTLINE(readability-make-member-function-const) - do not allow usage of mutable pointer from const object
125 Token *front() {
126 return mTokensFrontBack->front;

Callers 3

calculateHashMethod · 0.70
simplifyPlatformTypesMethod · 0.70
simplifyStdTypeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected