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

Function GetPreviousNonBlankLine

scripts/cpplint.py:3601–3621  ·  view source on GitHub ↗

Return the most recent non-blank line and its line number. Args: clean_lines: A CleansedLines instance containing the file contents. linenum: The number of the line to check. Returns: A tuple with two elements. The first element is the contents of the last non-blank line befor

(clean_lines, linenum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

CheckBracesFunction · 0.85
CheckTrailingSemicolonFunction · 0.85
CheckStyleFunction · 0.85

Calls 1

IsBlankLineFunction · 0.85

Tested by

no test coverage detected