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

Method isRuleGloballySuppressed

addons/misra.py:4413–4420  ·  view source on GitHub ↗

Check to see if a rule is globally suppressed. :param rule_num: is the rule number in hundreds format

(self, rule_num)

Source from the content-addressed store, hash-verified

4411 return ruleIsSuppressed
4412
4413 def isRuleGloballySuppressed(self, rule_num):
4414 """
4415 Check to see if a rule is globally suppressed.
4416 :param rule_num: is the rule number in hundreds format
4417 """
4418 if rule_num not in self.suppressedRules:
4419 return False
4420 return None in self.suppressedRules[rule_num]
4421
4422 def showSuppressedRules(self):
4423 """

Callers 2

reportErrorMethod · 0.95
executeCheckMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected