[PATCH] D29737: Updates documentation to include command to run clang-tidy tests.

CJ DiMeglio via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 8 16:12:48 PST 2017


lethalantidote created this revision.
Herald added a subscriber: JDevlieghere.

Adds the commandline need to run clang-tidy tests.


https://reviews.llvm.org/D29737

Files:
  clang-tools-extra/docs/clang-tidy/index.rst


Index: clang-tools-extra/docs/clang-tidy/index.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/index.rst
+++ clang-tools-extra/docs/clang-tidy/index.rst
@@ -537,6 +537,12 @@
 Testing Checks
 --------------
 
+To run tests for :program:`clang-tidy` use the command:
+
+.. code-block:: console
+
+  $ ninja check-clang-tools
+
 :program:`clang-tidy` checks can be tested using either unit tests or
 `lit`_ tests. Unit tests may be more convenient to test complex replacements
 with strict checks. `Lit`_ tests allow using partial text matching and regular


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29737.87728.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170209/a13f9295/attachment.bin>


More information about the cfe-commits mailing list