[clang-tools-extra] 7722731 - Correct some dead links in the clang-tidy docs
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 24 10:24:02 PST 2023
Author: Pratik Sharma
Date: 2023-01-24T13:23:50-05:00
New Revision: 7722731a9a711f12f60bbf238c97dd07e0b9e7f8
URL: https://github.com/llvm/llvm-project/commit/7722731a9a711f12f60bbf238c97dd07e0b9e7f8
DIFF: https://github.com/llvm/llvm-project/commit/7722731a9a711f12f60bbf238c97dd07e0b9e7f8.diff
LOG: Correct some dead links in the clang-tidy docs
There were some dead links in Suppressing Undesired Diagnostics which I
replaced with the working links.
Fixes #60023
Differential Revision: https://reviews.llvm.org/D142377
Added:
Modified:
clang-tools-extra/docs/clang-tidy/index.rst
Removed:
################################################################################
diff --git a/clang-tools-extra/docs/clang-tidy/index.rst b/clang-tools-extra/docs/clang-tidy/index.rst
index ab25bf7c8c81c..67106230e5ff3 100644
--- a/clang-tools-extra/docs/clang-tidy/index.rst
+++ b/clang-tools-extra/docs/clang-tidy/index.rst
@@ -308,13 +308,13 @@ Suppressing Undesired Diagnostics
adhere to a coding standard, or is otherwise problematic in some way. However,
if the code is known to be correct, it may be useful to silence the warning.
Some clang-tidy checks provide a check-specific way to silence the diagnostics,
-e.g. `bugprone-use-after-move <checks/bugprone-use-after-move.html>`_ can be
+e.g. `bugprone-use-after-move <checks/bugprone/use-after-move.html>`_ can be
silenced by re-initializing the variable after it has been moved out,
`bugprone-string-integer-assignment
-<checks/bugprone-string-integer-assignment.html>`_ can be suppressed by
+<checks/bugprone/string-integer-assignment.html>`_ can be suppressed by
explicitly casting the integer to ``char``,
`readability-implicit-bool-conversion
-<checks/readability-implicit-bool-conversion.html>`_ can also be suppressed by
+<checks/readability/implicit-bool-conversion.html>`_ can also be suppressed by
using explicit casts, etc.
If a specific suppression mechanism is not available for a certain warning, or
More information about the cfe-commits
mailing list