MCPcopy Create free account
hub / github.com/TheLegendAli/DeepLab-Context / CheckStyle

Function CheckStyle

scripts/cpp_lint.py:3459–3563  ·  view source on GitHub ↗

Checks rules from the 'C++ style rules' section of cppguide.html. Most of these rules are hard to test (naming, comment style), but we do what we can. In particular we check for 2-space indents, line lengths, tab usage, spaces inside code, etc. Args: filename: The name of the current

(filename, clean_lines, linenum, file_extension, nesting_state,
               error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessLineFunction · 0.85

Calls 14

MatchFunction · 0.85
GetLineWidthFunction · 0.85
GetPreviousNonBlankLineFunction · 0.85
CheckBracesFunction · 0.85
CheckEmptyBlockBodyFunction · 0.85
CheckAccessFunction · 0.85
CheckSpacingFunction · 0.85
CheckCheckFunction · 0.85
CheckAltTokensFunction · 0.85
CheckSectionSpacingFunction · 0.85
InnermostClassMethod · 0.80

Tested by

no test coverage detected