From 6b95787acc5b2628a3d544c70cb0727a1975150d Mon Sep 17 00:00:00 2001 From: Piotr Zegar Date: Sun, 23 Jul 2023 12:29:18 +0000 Subject: [PATCH] [clang-tidy][NFC] Fix links to fuchsia codding standard Correct links to fuchsia codding standard in documentation for fuchsia-* checks. Partially fixes: #62334 --- .../docs/clang-tidy/checks/fuchsia/default-arguments-calls.rst | 2 +- .../docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst | 2 +- .../docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst | 2 +- .../docs/clang-tidy/checks/fuchsia/overloaded-operator.rst | 2 +- .../docs/clang-tidy/checks/fuchsia/statically-constructed-objects.rst | 2 +- clang-tools-extra/docs/clang-tidy/checks/fuchsia/trailing-return.rst | 2 +- .../docs/clang-tidy/checks/fuchsia/virtual-inheritance.rst | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.rst index bc33ed1..e2b91c2 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-calls.rst @@ -19,4 +19,4 @@ Calling it without defaults will not cause a warning: foo(); // warning foo(0); // no warning -See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst index 774425e..85e5de2 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/default-arguments-declarations.rst @@ -13,4 +13,4 @@ For example, the declaration: will cause a warning. -See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst index b52ec2b..2f6ed18e 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/multiple-inheritance.rst @@ -43,4 +43,4 @@ A class that inherits from a pure virtual is allowed: virtual int bar() override { return 0; } }; -See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.rst index 6cec0f8..48d2940 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/overloaded-operator.rst @@ -15,4 +15,4 @@ For example: B &operator=(const B &Other); // No warning B &operator=(B &&Other) // No warning -See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en 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 17297fa..4696269 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(get_i()) // Warning, as the constructor is dynamically initialized -See the features disallowed in Fuchsia at https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en 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 e090a4f..361bf54 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.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en diff --git a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.rst b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.rst index f73a49b..2d01f7a 100644 --- a/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.rst +++ b/clang-tools-extra/docs/clang-tidy/checks/fuchsia/virtual-inheritance.rst @@ -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.googlesource.com/zircon/+/master/docs/cxx.md +See the features disallowed in Fuchsia at https://fuchsia.dev/fuchsia-src/development/languages/c-cpp/cxx?hl=en -- 2.7.4