MCPcopy Create free account
hub / github.com/BVLC/caffe / CheckBegin

Method CheckBegin

scripts/cpp_lint.py:1833–1836  ·  view source on GitHub ↗
(self, filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

1831 break
1832
1833 def CheckBegin(self, filename, clean_lines, linenum, error):
1834 # Look for a bare ':'
1835 if Search('(^|[^:]):($|[^:])', clean_lines.elided[linenum]):
1836 self.is_derived = True
1837
1838 def CheckEnd(self, filename, clean_lines, linenum, error):
1839 # Check that closing brace is aligned with beginning of the class.

Callers

nothing calls this directly

Calls 1

SearchFunction · 0.85

Tested by

no test coverage detected