[libcxx-commits] [PATCH] D129976: [libc++] Add clang-tidy for the tests
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jul 20 02:27:05 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG20d30f709b9a: [libc++] Add clang-tidy for the tests (authored by philnik).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129976/new/
https://reviews.llvm.org/D129976
Files:
libcxx/test/.clang-tidy
libcxx/test/libcxx/clang_tidy.sh.cpp
Index: libcxx/test/libcxx/clang_tidy.sh.cpp
===================================================================
--- libcxx/test/libcxx/clang_tidy.sh.cpp
+++ libcxx/test/libcxx/clang_tidy.sh.cpp
@@ -9,7 +9,7 @@
// REQUIRES: has-clang-tidy
// TODO: run clang-tidy with modules enabled once they are supported
-// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* -- -Wweak-vtables -Wno-unknown-warning-option %{compile_flags} -fno-modules
+// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* --config-file=%S/../../.clang-tidy -- -Wweak-vtables -Wno-unknown-warning-option %{compile_flags} -fno-modules
// -Wno-unknown-warning-option tells clang-tidy to ignore '-W' command-line arguments that it doesn't know.
// There are some GCC-specific ones where clang-tidy would warn otherwise.
Index: libcxx/test/.clang-tidy
===================================================================
--- /dev/null
+++ libcxx/test/.clang-tidy
@@ -0,0 +1,5 @@
+InheritParentConfig: true
+
+CheckOptions:
+ - key: readability-identifier-naming.ParameterPrefix
+ value: ""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129976.446087.patch
Type: text/x-patch
Size: 1087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20220720/b932a283/attachment.bin>
More information about the libcxx-commits
mailing list