MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / is_endif

Function is_endif

scripts/check_header_guards.py:59–60  ·  view source on GitHub ↗
(line: str)

Source from the content-addressed store, hash-verified

57 return line.strip().startswith("#define")
58
59def is_endif(line: str) -> bool:
60 return line.strip().startswith("#endif")
61
62def is_ifndef(line: str) -> bool:
63 return line.strip().startswith("#ifndef")

Callers 1

fix_header_guardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected