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

Method CheckBegin

cpplint.py:2972–2985  ·  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

(self, filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

2970 self.check_namespace_indentation = False
2971
2972 def CheckBegin(self, filename, clean_lines, linenum, error):
2973 """Run checks that applies to text up to the opening brace.
2974
2975 This is mostly for checking the text after the class identifier
2976 and the "{", usually where the base class is specified. For other
2977 blocks, there isn't much to check, so we always pass.
2978
2979 Args:
2980 filename: The name of the current file.
2981 clean_lines: A CleansedLines instance containing the file.
2982 linenum: The number of the line to check.
2983 error: The function to call with any errors found.
2984 """
2985 pass
2986
2987 def CheckEnd(self, filename, clean_lines, linenum, error):
2988 """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