MCPcopy Create free account
hub / github.com/dmtcp/dmtcp / CheckBegin

Method CheckBegin

util/cpplint.py:2120–2133  ·  view source on GitHub ↗

Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually where the base class is specified. For other blocks, there isn't much to check, so we always pass. Args: filename: The name of the cu

(self, filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

2118 self.check_namespace_indentation = False
2119
2120 def CheckBegin(self, filename, clean_lines, linenum, error):
2121 """Run checks that applies to text up to the opening brace.
2122
2123 This is mostly for checking the text after the class identifier
2124 and the "{", usually where the base class is specified. For other
2125 blocks, there isn't much to check, so we always pass.
2126
2127 Args:
2128 filename: The name of the current file.
2129 clean_lines: A CleansedLines instance containing the file.
2130 linenum: The number of the line to check.
2131 error: The function to call with any errors found.
2132 """
2133 pass
2134
2135 def CheckEnd(self, filename, clean_lines, linenum, error):
2136 """Run checks that applies to text after the closing brace.

Callers 1

UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected