forked from OSchip/llvm-project
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:
parent
a0b23b8e63
commit
dc54df9ca2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue