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

Function isFunctionPointer

lib/check64bit.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47static bool isFunctionPointer(const Token* tok)
48{
49 if (!tok || !tok->variable())
50 return false;
51 return Tokenizer::isFunctionPointer(tok->variable()->nameToken());
52}
53
54void Check64BitPortabilityImpl::pointerassignment()
55{

Callers 7

replaceMethod · 0.85
simplifyTypedefMethod · 0.85
simplifyTypedefCppMethod · 0.85
simplifyVarDeclMethod · 0.85
getAttributeFuncTokMethod · 0.85
pointerassignmentMethod · 0.85

Calls 2

variableMethod · 0.80
nameTokenMethod · 0.45

Tested by

no test coverage detected