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

Function isOperator

lib/token.cpp:868–874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

866}
867
868static bool isOperator(const Token *tok)
869{
870 if (tok->link())
871 tok = tok->link();
872 // TODO handle multi token operators
873 return tok->strAt(-1) == "operator";
874}
875
876const Token * Token::findClosingBracket() const
877{

Callers 1

findClosingBracketMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected