MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / fenced

Function fenced

scripts/code_verify_rules.py:1481–1483  ·  view source on GitHub ↗
(line: int)

Source from the content-addressed store, hash-verified

1479 is_header = path.suffix in {".h", ".hpp", ".hxx"}
1480
1481 def fenced(line: int) -> bool:
1482 idx = line - 1
1483 return 0 <= idx < len(fence_mask) and fence_mask[idx]
1484
1485 # ---- qt-bare-emit / qt-uppercase-signal-slot / cxx-goto / Q_INVOKABLE void
1486 # The fastest pass that catches text-level Qt mistakes is a token sweep

Callers 8

_parameter_perf_findingsFunction · 0.85
_scan_body_linesFunction · 0.85
_recursion_findingsFunction · 0.85
_cpp_rulesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected