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

Function CheckForNonConstReference

caffe/scripts/cpp_lint.py:4064–4174  ·  view source on GitHub ↗

Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing the file. linenum: The number of the line to check.

(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

ProcessLineFunction · 0.85

Calls 4

MatchFunction · 0.85
SearchFunction · 0.85
ReverseCloseExpressionFunction · 0.85
ReplaceAllFunction · 0.85

Tested by

no test coverage detected