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

Function sameline

externals/simplecpp/simplecpp.cpp:153–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151}
152
153static bool sameline(const simplecpp::Token *tok1, const simplecpp::Token *tok2)
154{
155 return tok1 && tok2 && tok1->location.sameline(tok2->location);
156}
157
158static bool isAlternativeBinaryOp(const simplecpp::Token *tok, const std::string &alt)
159{

Callers 15

printAllMethod · 0.70
printOutMethod · 0.70
stringifyMethod · 0.70
combineOperatorsMethod · 0.70
lastLineTokMethod · 0.70
MacroMethod · 0.70
expandMethod · 0.70
functionLikeMethod · 0.70
parseDefineMethod · 0.70
getMacroParametersMethod · 0.70
appendTokensMethod · 0.70
recursiveExpandTokenMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected