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

Function evaluate

lib/analyzer.h:170–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168 /// Try to evaluate the value of a token(most likely a condition)
169 virtual std::vector<MathLib::bigint> evaluate(Evaluate e, const Token* tok, const Token* ctx = nullptr) const = 0;
170 std::vector<MathLib::bigint> evaluate(const Token* tok, const Token* ctx = nullptr) const
171 {
172 return evaluate(Evaluate::Integral, tok, ctx);
173 }
174 /// Lower any values to possible
175 virtual bool lowerToPossible() = 0;
176 /// Lower any values to inconclusive

Callers 4

parseCompareEachIntFunction · 0.70
parseCompareIntMethod · 0.70
symboldatabase.hFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected