summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Zelenko <eugene.zelenko@gmail.com>2019-01-17 20:00:23 +0000
committerEugene Zelenko <eugene.zelenko@gmail.com>2019-01-17 20:00:23 +0000
commit390b3b34e03ad2092053658e40492b2303c8bca7 (patch)
tree9b49b8b7c1eaaec482b41b37bf27d4d3b67e115a
parent76c77d9eaf2f5aff93cf28a49182bd98d1eae685 (diff)
downloadbcm5719-llvm-390b3b34e03ad2092053658e40492b2303c8bca7.tar.gz
bcm5719-llvm-390b3b34e03ad2092053658e40492b2303c8bca7.zip
[Documentation] Fix another link in docs/clang-tidy/Contributing.rst.
llvm-svn: 351468
-rw-r--r--clang-tools-extra/docs/clang-tidy/Contributing.rst15
1 files changed, 9 insertions, 6 deletions
diff --git a/clang-tools-extra/docs/clang-tidy/Contributing.rst b/clang-tools-extra/docs/clang-tidy/Contributing.rst
index c0554e9ac24..6d61809ecb3 100644
--- a/clang-tools-extra/docs/clang-tidy/Contributing.rst
+++ b/clang-tools-extra/docs/clang-tidy/Contributing.rst
@@ -422,12 +422,15 @@ To test a check it's best to try it out on a larger code base. LLVM and Clang
are the natural targets as you already have the source code around. The most
convenient way to run :program:`clang-tidy` is with a compile command database;
CMake can automatically generate one, for a description of how to enable it see
-`How To Setup Tooling For LLVM`_. Once ``compile_commands.json`` is in place and
-a working version of :program:`clang-tidy` is in ``PATH`` the entire code base
-can be analyzed with ``clang-tidy/tool/run-clang-tidy.py``. The script executes
-:program:`clang-tidy` with the default set of checks on every translation unit
-in the compile command database and displays the resulting warnings and errors.
-The script provides multiple configuration flags.
+`How To Setup Clang Tooling For LLVM`_. Once ``compile_commands.json`` is in
+place and a working version of :program:`clang-tidy` is in ``PATH`` the entire
+code base can be analyzed with ``clang-tidy/tool/run-clang-tidy.py``. The script
+executes :program:`clang-tidy` with the default set of checks on every
+translation unit in the compile command database and displays the resulting
+warnings and errors. The script provides multiple configuration flags.
+
+.. _How To Setup Clang Tooling For LLVM: https://clang.llvm.org/docs/HowToSetupToolingForLLVM.html
+
* The default set of checks can be overridden using the ``-checks`` argument,
taking the identical format as :program:`clang-tidy` does. For example
OpenPOWER on IntegriCloud