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

Function isUnaryOp

lib/token.h:460–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458 return astOperand1() != nullptr && astOperand2() != nullptr;
459 }
460 bool isUnaryOp(const std::string &s) const {
461 return s == mStr && astOperand1() != nullptr && astOperand2() == nullptr;
462 }
463 bool isUnaryPreOp() const;
464
465 uint64_t flags() const {

Callers

nothing calls this directly

Calls 2

astOperand1Function · 0.85
astOperand2Function · 0.85

Tested by

no test coverage detected