MCPcopy Index your code
hub / github.com/cpplint/cpplint / IsSuppressed

Method IsSuppressed

cpplint.py:1021–1024  ·  view source on GitHub ↗

:return: `True` if `category` is suppressed for `linenum`

(self, category, linenum)

Source from the content-addressed store, hash-verified

1019 self._open_block_suppression = None
1020
1021 def IsSuppressed(self, category, linenum):
1022 """:return: `True` if `category` is suppressed for `linenum`"""
1023 suppressed = self._suppressions[category] + self._suppressions[None]
1024 return any(linenum in lr for lr in suppressed)
1025
1026 def HasOpenBlock(self):
1027 """:return: `True` if a block suppression was started but not ended"""

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected