MCPcopy Create free account
hub / github.com/PlatformLab/Arachne / CheckStyle

Function CheckStyle

scripts/cpplint.py:4085–4201  ·  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 15

SearchFunction · 0.85
MatchFunction · 0.85
IsHeaderExtensionFunction · 0.85
GetLineWidthFunction · 0.85
GetPreviousNonBlankLineFunction · 0.85
CheckBracesFunction · 0.85
CheckTrailingSemicolonFunction · 0.85
CheckAccessFunction · 0.85
CheckSpacingFunction · 0.85
CheckOperatorSpacingFunction · 0.85
CheckParenthesisSpacingFunction · 0.85

Tested by

no test coverage detected