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 ^^^^^^^^^^^^^^^^^^^^^^^^
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 ^^^^^^^^^^^^^^^^^^^^^^^^
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits