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

Function CheckSpacing

scripts/cpplint.py:3059–3184  ·  view source on GitHub ↗

Checks for the correctness of various spacing issues in the code. Things we check for: spaces around operators, spaces after if/for/while/switch, no spaces around parens in function calls, two spaces between code and comment, don't start a block with a blank line, don't end a function with

(filename, clean_lines, linenum, nesting_state, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

CheckStyleFunction · 0.85

Calls 8

IsBlankLineFunction · 0.85
MatchFunction · 0.85
CheckCommentFunction · 0.85
SearchFunction · 0.85
InNamespaceBodyMethod · 0.80
InExternCMethod · 0.80
findMethod · 0.80
NumLinesMethod · 0.80

Tested by

no test coverage detected