Adds the commandline need to run clang-tidy tests.

Patch by Jorge Gorbe (lethalantidote)

Differential Revision: https://reviews.llvm.org/D29737

llvm-svn: 294689
This commit is contained in:
David L. Jones 2017-02-10 01:48:43 +00:00
parent a0b23b8e63
commit dc54df9ca2
1 changed files with 6 additions and 0 deletions

View File

@ -537,6 +537,12 @@ YAML format:
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