MCPcopy Create free account
hub / github.com/FastLED/FastLED / main

Function main

ci/lint_cpp/bare_libm_checker.py:220–231  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

218
219
220def main() -> None:
221 from ci.util.check_files import run_checker_standalone
222
223 checker = BareLibmChecker()
224 run_checker_standalone(
225 checker,
226 [str(SRC_ROOT)],
227 "Found bare C libm call (e.g. ::sqrtf, atan2, ldexpf) in src/. "
228 "Use fl::sqrt / fl::atan2 / fl::ldexp instead — see PR #3012, "
229 "issue #3002. Add `// ok libm` to whitelist a specific call.",
230 extensions=[".cpp", ".h", ".hpp"],
231 )
232
233
234if __name__ == "__main__":

Callers 1

Calls 2

run_checker_standaloneFunction · 0.90
BareLibmCheckerClass · 0.85

Tested by

no test coverage detected