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

Method isUnaryOp

addons/cppcheckdata.py:502–503  ·  view source on GitHub ↗
(self, op)

Source from the content-addressed store, hash-verified

500 return None
501
502 def isUnaryOp(self, op):
503 return self.astOperand1 and (self.astOperand2 is None) and self.str == op
504
505 def isBinaryOp(self):
506 return self.astOperand1 and self.astOperand2

Callers 15

isUnchangedFunction · 0.80
checkRecursiveMethod · 0.80
fwdanalysis.cppFile · 0.80
possiblyAliasedMethod · 0.80
isPointerDeRefMethod · 0.80
getRealBufferTokFunction · 0.80
getOverrunIndexValuesFunction · 0.80
getBufferSizeMethod · 0.80
getFunctionNameMethod · 0.80
getLibraryContainerFunction · 0.80
checkLongCastMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected