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

Function hasJump

lib/forwardanalyzer.cpp:347–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345 }
346
347 static bool hasJump(const Token* endBlock) {
348 return Token::findmatch(endBlock->link(), "goto|break", endBlock);
349 }
350
351 bool hasInnerReturnScope(const Token* start, const Token* end) const {
352 for (const Token* tok=start; tok != end; tok = tok->previous()) {

Callers 1

updateLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected