An LLVM-based C/C++ linter to find style violations, bugs and security flaws through static analysis.
clang-tidy {path/to/file.cpp}
cppcoreguidelines
checks on a file:
clang-tidy {path/to/file.cpp} -checks={-*,cppcoreguidelines-*}
clang-tidy -checks={*} -list-checks
--
):
clang-tidy {path/to/file.cpp} -- -I{my_project/include} -D{definitions}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY This content has been proxied by September (ba2dc).Proxy Information
text/gemini;lang=en-GB