diff options
| author | David L. Jones <dlj@google.com> | 2017-02-10 01:48:43 +0000 |
|---|---|---|
| committer | David L. Jones <dlj@google.com> | 2017-02-10 01:48:43 +0000 |
| commit | dc54df9ca2351e8f414dc6d8a50f8a8137d11335 (patch) | |
| tree | 503bc78ce2d1320f9e22a3fa400db0a1d30954de | |
| parent | a0b23b8e637cad82b647aee2f63799789b469a1b (diff) | |
| download | bcm5719-llvm-dc54df9ca2351e8f414dc6d8a50f8a8137d11335.tar.gz bcm5719-llvm-dc54df9ca2351e8f414dc6d8a50f8a8137d11335.zip | |
Adds the commandline need to run clang-tidy tests.
Patch by Jorge Gorbe (lethalantidote)
Differential Revision: https://reviews.llvm.org/D29737
llvm-svn: 294689
| -rw-r--r-- | clang-tools-extra/docs/clang-tidy/index.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/index.rst b/clang-tools-extra/docs/clang-tidy/index.rst index a414bf1aca0..7ca66c62d1d 100644 --- a/clang-tools-extra/docs/clang-tidy/index.rst +++ b/clang-tools-extra/docs/clang-tidy/index.rst @@ -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 |

