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

Function isFunctionCall

addons/misra.py:832–841  ·  view source on GitHub ↗
(expr, std='c99')

Source from the content-addressed store, hash-verified

830 return True
831
832def isFunctionCall(expr, std='c99'):
833 if not expr:
834 return False
835 if expr.str != '(' or not expr.astOperand1:
836 return False
837 if expr.astOperand1 != expr.previous:
838 return False
839 if isKeyword(expr.astOperand1.str, std):
840 return False
841 return True
842
843
844def hasExternalLinkage(var):

Callers 10

misra_1_4Method · 0.70
misra_7_4Method · 0.70
misra_17_1Method · 0.70
misra_17_2Method · 0.70
misra_21_3Method · 0.70
misra_21_6Method · 0.70
misra_21_7Method · 0.70
misra_21_8Method · 0.70
misra_21_12Method · 0.70
misra_21_14Method · 0.70

Calls 1

isKeywordFunction · 0.70

Tested by

no test coverage detected