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

Method checkReturnPtrThis

lib/checkclass.cpp:1683–1687  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1681}
1682
1683void CheckClassImpl::checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last)
1684{
1685 std::set<const Function*> analyzedFunctions;
1686 checkReturnPtrThis(scope, func, tok, last, analyzedFunctions);
1687}
1688
1689void CheckClassImpl::checkReturnPtrThis(const Scope *scope, const Function *func, const Token *tok, const Token *last, std::set<const Function*>& analyzedFunctions)
1690{

Callers

nothing calls this directly

Calls 13

isLambdaCaptureListFunction · 0.85
nextMethod · 0.80
astOperand1Method · 0.80
isUnaryOpMethod · 0.80
linkAtMethod · 0.80
isConstMethod · 0.80
simpleMatchFunction · 0.70
strMethod · 0.45
sizeMethod · 0.45
tokAtMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected