diff options
Diffstat (limited to 'clang-tools-extra/docs/clang-tidy/index.rst')
-rw-r--r-- | clang-tools-extra/docs/clang-tidy/index.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/index.rst b/clang-tools-extra/docs/clang-tidy/index.rst index ec6c24ff554..0ed350c7bcb 100644 --- a/clang-tools-extra/docs/clang-tidy/index.rst +++ b/clang-tools-extra/docs/clang-tidy/index.rst @@ -650,7 +650,8 @@ clang-tidy tests. An additional check enabled by ``check_clang_tidy.py`` ensures that if `CHECK-MESSAGES:` is used in a file then every warning or error -must have an associated CHECK in that file. +must have an associated CHECK in that file. Or, you can use ``CHECK-NOTES:`` +instead, if you want to **also** ensure that all the notes are checked. To use the ``check_clang_tidy.py`` script, put a .cpp file with the appropriate ``RUN`` line in the ``test/clang-tidy`` directory. Use |