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

Method __init__

util/cpplint.py:2113–2118  ·  view source on GitHub ↗
(self, linenum, seen_open_brace)

Source from the content-addressed store, hash-verified

2111 """Stores information about a generic block of code."""
2112
2113 def __init__(self, linenum, seen_open_brace):
2114 self.starting_linenum = linenum
2115 self.seen_open_brace = seen_open_brace
2116 self.open_parentheses = 0
2117 self.inline_asm = _NO_ASM
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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected