[clang-tools-extra] [clang-tidy][docs] Normalize fuchsia check documentation links (PR #214697)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 7 03:23:16 PDT 2026
https://github.com/richardmilles created https://github.com/llvm/llvm-project/pull/214697
Use stable fuchsia.dev URLs without `?hl=en` and add the missing reference on `fuchsia-temporary-objects`.
Fixes #62334
>From ad87207dc6f5ea138c3b0998a34e99f886c81470 Mon Sep 17 00:00:00 2001
From: richardmilles <darkenhalneke at gmail.com>
Date: Fri, 7 Aug 2026 10:17:06 +0200
Subject: [PATCH] [clang-tidy][docs] Normalize fuchsia check documentation
links
Fixes #62334
---
.../docs/clang-tidy/checks/fuchsia/default-arguments-calls.md | 2 +-
.../clang-tidy/checks/fuchsia/default-arguments-declarations.md | 2 +-
.../docs/clang-tidy/checks/fuchsia/multiple-inheritance.md | 2 +-
.../docs/clang-tidy/checks/fuchsia/overloaded-operator.md | 2 +-
.../checks/fuchsia/statically-constructed-objects.rst | 2 +-
.../docs/clang-tidy/checks/fuchsia/temporary-objects.rst | 2 ++
.../docs/clang-tidy/checks/fuchsia/trailing-return.rst | 2 +-
.../docs/clang-tidy/checks/fuchsia/virtual-inheritance.md | 2 +-
8 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.md b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.md
index df467e392a254..ab75edde8f261 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.md
@@ -19,4 +19,4 @@ foo(); // warning
foo(0); // no warning
```
-See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en>
+See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx>
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.md b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.md
index 2fb9725255450..87c6f42b19581 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.md
@@ -13,4 +13,4 @@ int foo(int value = 5) { return value; }
will cause a warning.
-See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en>
+See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx>
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.md b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.md
index eaafab5b8d392..cde0e15518350 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.md
@@ -6,5 +6,5 @@
The `fuchsia-multiple-inheritance` check is an alias, please See
{doc}`misc-multiple-inheritance <../misc/multiple-inheritance>` for details.
-See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en>
+See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx>
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.md b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.md
index 47da89631de65..46ed4c55f10c9 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.md
@@ -15,4 +15,4 @@ B &operator=(const B &Other); // No warning
B &operator=(B &&Other) // No warning
```
-See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en>
+See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx>
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/statically-constructed-objects.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/statically-constructed-objects.rst
index ad872837a9775..7153853f05eba 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/statically-constructed-objects.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/statically-constructed-objects.rst
@@ -40,4 +40,4 @@ For example:
extern int get_i();
static C c3(get_i());// Warning, as the constructor is dynamically initialized
-See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en
+See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/temporary-objects.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/temporary-objects.rst
index 29005c4dbcc0c..5615fe778ad8c 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/temporary-objects.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/temporary-objects.rst
@@ -51,3 +51,5 @@ Options
A semi-colon-separated list of fully-qualified names of C++ classes that
should not be constructed as temporaries. Default is empty string.
+
+See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/trailing-return.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/trailing-return.rst
index 361bf541fb16d..a88ec0c7f4ca4 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/trailing-return.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/trailing-return.rst
@@ -32,4 +32,4 @@ Exceptions are made for lambdas and ``decltype`` specifiers:
}
-See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en
+See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx
diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.md b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.md
index 117fa0c9a9780..0ce69fcbefeda 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.md
+++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.md
@@ -11,4 +11,4 @@ For example, classes should not be defined with virtual inheritance:
class B : public virtual A {}; // warning
```
-See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en>
+See the features disallowed in Fuchsia at <https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx>
More information about the cfe-commits
mailing list