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

Function isStdLibId

addons/misra.py:487–492  ·  view source on GitHub ↗
(id_, standard='c99')

Source from the content-addressed store, hash-verified

485 return C11_STDLIB_IDENTIFIERS
486
487def isStdLibId(id_, standard='c99'):
488 id_lists = getStdLib(standard).values()
489 for l in id_lists:
490 if id_ in l:
491 return True
492 return False
493
494# Reserved keywords defined in ISO/IEC9899:1990 -- ch 6.1.1
495C90_KEYWORDS = {

Callers 5

test_isStdLibIdFunction · 0.90
misra_17_3Method · 0.85
misra_configMethod · 0.85
misra_21_1Method · 0.85
misra_21_2Method · 0.85

Calls 1

getStdLibFunction · 0.85

Tested by 1

test_isStdLibIdFunction · 0.72