MCPcopy Create free account
hub / github.com/MhLiao/TextBoxes_plusplus / CheckForMultilineCommentsAndStrings

Function CheckForMultilineCommentsAndStrings

scripts/cpp_lint.py:1526–1561  ·  view source on GitHub ↗

Logs an error if we see /* ... */ or "..." that extend past one line. /* ... */ comments are legit inside macros, for one line. Otherwise, we prefer // comments, so it's ok to warn about the other. Likewise, it's ok for strings to extend across multiple lines, as long as a line continuatio

(filename, clean_lines, linenum, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessLineFunction · 0.85

Calls 1

countMethod · 0.80

Tested by

no test coverage detected