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

Function isLowerThanPlusMinus

lib/templatesimplifier.cpp:2377–2380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2375 return isLowerThanAnd(lower) || lower->str() == "&";
2376}
2377static bool isLowerThanPlusMinus(const Token* lower)
2378{
2379 return isLowerThanShift(lower) || Token::Match(lower, "%comp%|<<|>>");
2380}
2381static bool isLowerThanMulDiv(const Token* lower)
2382{
2383 return isLowerThanPlusMinus(lower) || Token::Match(lower, "+|-");

Callers 2

isLowerThanMulDivFunction · 0.85

Calls 1

isLowerThanShiftFunction · 0.85

Tested by

no test coverage detected