MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / GetPreviousNonBlankLine

Function GetPreviousNonBlankLine

caffe/scripts/cpp_lint.py:2976–2996  ·  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 2

CheckBracesFunction · 0.85
CheckStyleFunction · 0.85

Calls 1

IsBlankLineFunction · 0.85

Tested by

no test coverage detected