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

Function makeOppositeExpressionAnalyzer

lib/vf_analyzers.cpp:1395–1398  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1393};
1394
1395ValuePtr<Analyzer> makeOppositeExpressionAnalyzer(bool pIsNot, const Token* e, ValueFlow::Value val, const Settings& s)
1396{
1397 return OppositeExpressionAnalyzer{pIsNot, e, std::move(val), s};
1398}
1399
1400struct SubExpressionAnalyzer : ExpressionAnalyzer {
1401 using PartialReadContainer = std::vector<std::pair<Token *, ValueFlow::Value>>;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected