diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2025-05-15 10:34:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-15 10:34:09 +0200 |
commit | fbdf38ed4397e1d24c31a4bd79f7c6f55939f34f (patch) | |
tree | 82b738dce44f2ab7e84695eb08590dd7ff490314 /libcxx/src | |
parent | 947a52db7c88a6946e0d888851cc93faca6d726f (diff) | |
download | llvm-fbdf38ed4397e1d24c31a4bd79f7c6f55939f34f.zip llvm-fbdf38ed4397e1d24c31a4bd79f7c6f55939f34f.tar.gz llvm-fbdf38ed4397e1d24c31a4bd79f7c6f55939f34f.tar.bz2 |
[libc++] run clang-tidy on src/ in the CI (#121198)
This adds a new test to run clang-tidy on the `src/` directory and
temporarily disables and clang-tidy checks that currently fail. They
will be enabled in follow-up patches.
Diffstat (limited to 'libcxx/src')
-rw-r--r-- | libcxx/src/.clang-tidy | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/libcxx/src/.clang-tidy b/libcxx/src/.clang-tidy index ec8f2e0..3d5493d 100644 --- a/libcxx/src/.clang-tidy +++ b/libcxx/src/.clang-tidy @@ -1,4 +1,18 @@ InheritParentConfig: true Checks: > - -readability-identifier-naming + -clang-analyzer-*, + + -llvm-include-order, + + -modernize-loop-convert, + -modernize-use-equals-delete, + -modernize-use-nullptr, + -modernize-use-override, + + -readability-identifier-naming, + -readability-function-cognitive-complexity, + -readability-function-size, + -readability-simplify-boolean-expr, + +# TODO: Consider enabling clang-analyzer. Without the checks clang-tidy runs 18x faster on my system. |