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

Function CheckForHeaderGuard

scripts/cpp_lint.py:1408–1480  ·  view source on GitHub ↗

Checks that the file contains a header guard. Logs an error if no #ifndef header guard is present. For other headers, checks that the full pathname is used. Args: filename: The name of the C++ header file. lines: An array of strings, each representing a line of the file. error:

(filename, lines, error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ProcessFileDataFunction · 0.85

Calls 2

ParseNolintSuppressionsFunction · 0.85

Tested by

no test coverage detected