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

Method StartBlockSuppression

cpplint.py:1009–1013  ·  view source on GitHub ↗

Start a suppression block for `category` on `linenum`. inclusive

(self, category, linenum)

Source from the content-addressed store, hash-verified

1007 self._AddSuppression(category, self.LineRange(linenum, linenum))
1008
1009 def StartBlockSuppression(self, category, linenum):
1010 """Start a suppression block for `category` on `linenum`. inclusive"""
1011 if self._open_block_suppression is None:
1012 self._open_block_suppression = self.LineRange(linenum, math.inf)
1013 self._AddSuppression(category, self._open_block_suppression)
1014
1015 def EndBlockSuppression(self, linenum):
1016 """End the current block suppression on `linenum`. inclusive"""

Callers 1

ProcessCategoryFunction · 0.80

Calls 1

_AddSuppressionMethod · 0.95

Tested by

no test coverage detected