[PATCH] D131963: [libc++] Add custom clang-tidy checks
Mark de Wever via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 23 10:14:36 PST 2022
Mordante added inline comments.
================
Comment at: libcxx/test/libcxx/clang_tidy.sh.cpp:15
// TODO: run clang-tidy with modules enabled once they are supported
+// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* --checks='-*,libcpp-*' --load=%{test-tools}/clang_tidy_checks/libcxx-tidy.plugin -- %{compile_flags} -fno-modules
// RUN: clang-tidy %s --warnings-as-errors=* -header-filter=.* --config-file=%S/../../.clang-tidy -- -Wweak-vtables %{compile_flags} -fno-modules
----------------
I actually think it would be better to do this is a separate script.
Is there any documentation on how to run this test?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131963/new/
https://reviews.llvm.org/D131963
More information about the cfe-commits
mailing list