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

Function getIndirect

lib/vf_analyzers.cpp:86–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 virtual ProgramState getProgramState() const = 0;
85
86 virtual int getIndirect(const Token* tok) const {
87 const ValueFlow::Value* value = getValue(tok);
88 if (value)
89 return value->indirect;
90 return 0;
91 }
92
93 virtual bool isGlobal() const {
94 return false;

Callers 4

isModifiedFunction · 0.85
analyzeMatchFunction · 0.85
getIndirectMethod · 0.85
isModifiedMethod · 0.85

Calls 1

getValueFunction · 0.85

Tested by

no test coverage detected