[PATCH] D121019: [clang-tools-extra] Document clang tidy unit tests target
Richard via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 4 12:17:56 PST 2022
LegalizeAdulthood created this revision.
LegalizeAdulthood added reviewers: aaron.ballman, njames93, ymandel.
LegalizeAdulthood added a project: clang-tools-extra.
Herald added a project: All.
LegalizeAdulthood requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121019
Files:
clang-tools-extra/docs/clang-tidy/Contributing.rst
Index: clang-tools-extra/docs/clang-tidy/Contributing.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/Contributing.rst
+++ clang-tools-extra/docs/clang-tidy/Contributing.rst
@@ -364,6 +364,11 @@
test. The ``ASTMatchersTests`` target contains unit tests for the public AST matcher
classes and is a good source of testing idioms for matchers.
+You can build the Clang Tidy unit tests by building the ``ClangTidyTests`` target.
+Test targets in LLVM and Clang are excluded from the "build all" style action of
+IDE based CMake generators, so you need to explicitly build the target for the unit
+tests to be built.
+
Making your check robust
^^^^^^^^^^^^^^^^^^^^^^^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121019.413097.patch
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220304/b620fc28/attachment.bin>
More information about the cfe-commits
mailing list