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

Method HasOpenBlock

cpplint.py:1026–1028  ·  view source on GitHub ↗

:return: `True` if a block suppression was started but not ended

(self)

Source from the content-addressed store, hash-verified

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"""
1028 return self._open_block_suppression is not None
1029
1030 def Clear(self):
1031 """Clear all current error suppressions"""

Callers 2

ParseNolintSuppressionsFunction · 0.80
ProcessFileDataFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected