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

Function is_ifndef

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

Source from the content-addressed store, hash-verified

60 return line.strip().startswith("#endif")
61
62def is_ifndef(line: str) -> bool:
63 return line.strip().startswith("#ifndef")
64
65# Strips the given line from // and /* */ blocks
66def strip_comments(line: str) -> str:

Callers 1

looks_like_header_guardFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected