-- Leo's gemini proxy
-- Connecting to freeshell.de:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini;lang=en-GB
> An LLVM-based C/C++ linter to find style violations, bugs and security flaws through static analysis.
Run default checks on a source file:
clang-tidy {path/to/file.cpp}
Don't run any checks other than the `cppcoreguidelines` checks on a file:
clang-tidy {path/to/file.cpp} -checks={-*,cppcoreguidelines-*}
List all available checks:
clang-tidy -checks={*} -list-checks
Specify defines and includes as compilation options (after `--`):
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).
-- Response ended
-- Page fetched on Tue May 21 02:58:52 2024