[libcxx-commits] [libcxx] 8f50321 - [libc++] Add a .clang-tidy file to libcxx/src

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 22 14:24:10 PST 2024


Author: Nikolas Klauser
Date: 2024-11-22T23:23:59+01:00
New Revision: 8f50321256ecc1e7d433ca00baff47bd8a8bc81e

URL: https://github.com/llvm/llvm-project/commit/8f50321256ecc1e7d433ca00baff47bd8a8bc81e
DIFF: https://github.com/llvm/llvm-project/commit/8f50321256ecc1e7d433ca00baff47bd8a8bc81e.diff

LOG: [libc++] Add a .clang-tidy file to libcxx/src

This disables `readability-identifier-naming` for the source files,
since names don't have to by _Uglified in the source files. We currently
don't enforce clang-tidy in the source files, so this is only useful to
avoid a bunch of warnings when using an editor that shows the results of
clang-tidy.

Added: 
    libcxx/src/.clang-tidy

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/libcxx/src/.clang-tidy b/libcxx/src/.clang-tidy
new file mode 100644
index 00000000000000..ec8f2e0a76a3c4
--- /dev/null
+++ b/libcxx/src/.clang-tidy
@@ -0,0 +1,4 @@
+InheritParentConfig: true
+
+Checks: >
+  -readability-identifier-naming


        


More information about the libcxx-commits mailing list