[libcxx-commits] [libcxx] 1ff87ec - [libc++] [NFC] Disable clang-tidy's readability-identifier-naming check

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Tue Nov 16 11:14:35 PST 2021


Author: Nikolas Klauser
Date: 2021-11-16T20:14:07+01:00
New Revision: 1ff87ec235b8981c15c9956bd71cd74a4bff9557

URL: https://github.com/llvm/llvm-project/commit/1ff87ec235b8981c15c9956bd71cd74a4bff9557
DIFF: https://github.com/llvm/llvm-project/commit/1ff87ec235b8981c15c9956bd71cd74a4bff9557.diff

LOG: [libc++] [NFC] Disable clang-tidy's readability-identifier-naming check

In libc++ most of the names are not conforming to the llvm style. Removing the readability-identifier-naming check removes almost all clang-tidy warnings. For example in `<string>` the warning count goes from 1001 warnings down to 7.

Reviewed By: #libc, Mordante, ldionne

Spies: Mordante, Quuxplusone, aheejin, libcxx-commits, carlosgalvezp

Differential Revision: https://reviews.llvm.org/D113849

Added: 
    libcxx/.clang-tidy

Modified: 
    

Removed: 
    


################################################################################
diff  --git a/libcxx/.clang-tidy b/libcxx/.clang-tidy
new file mode 100644
index 000000000000..823649717eb0
--- /dev/null
+++ b/libcxx/.clang-tidy
@@ -0,0 +1,2 @@
+InheritParentConfig: true
+Checks: '-readability-identifier-naming'


        


More information about the libcxx-commits mailing list