[libcxx-commits] [PATCH] D113849: [libc++] Make clang-tidy usable in libc++

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sun Nov 14 09:46:27 PST 2021


philnik created this revision.
Herald added a subscriber: carlosgalvezp.
philnik requested review of this revision.
Herald added subscribers: libcxx-commits, aheejin.
Herald added a project: libc++.
Herald added a reviewer: libc++.

clang-tidy warnings are pretty mutch useless in libc++ because most of the names are not conforming to the llvm style. Removing the readability-identifier-naming check removes almost all clang-tidy warnings.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113849

Files:
  libcxx/.clang-tidy


Index: libcxx/.clang-tidy
===================================================================
--- /dev/null
+++ libcxx/.clang-tidy
@@ -0,0 +1,2 @@
+InheritParentConfig: true
+Checks: '-readability-identifier-naming'


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113849.387102.patch
Type: text/x-patch
Size: 216 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211114/c6a50132/attachment.bin>


More information about the libcxx-commits mailing list