Author: Haojian Wu
Date: 2023-01-03T09:25:38+01:00
New Revision: 8d9828ef5aa9688500657d36cd2aefbe12bbd162

URL: 
https://github.com/llvm/llvm-project/commit/8d9828ef5aa9688500657d36cd2aefbe12bbd162
DIFF: 
https://github.com/llvm/llvm-project/commit/8d9828ef5aa9688500657d36cd2aefbe12bbd162.diff

LOG: [clang-tidy] Fix all broken links in the comment.

Added: 
    

Modified: 
    clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h
    clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
    clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h
    
clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
    clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
    clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h
    clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
    clang-tools-extra/clang-tidy/concurrency/MtUnsafeCheck.h
    clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h
    clang-tools-extra/clang-tidy/google/AvoidNSObjectNewCheck.h
    clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h
    clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
    clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h
    clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
    clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.h

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h 
b/clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h
index 28cd0e8eb712d..ea9b0a1243f35 100644
--- a/clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h
+++ b/clang-tools-extra/clang-tidy/altera/SingleWorkItemBarrierCheck.h
@@ -20,7 +20,7 @@ namespace altera {
 /// kernels, which may be inefficient or cause an error.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/opencl/single-work-item-barrier.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/altera/single-work-item-barrier.html
 class SingleWorkItemBarrierCheck : public ClangTidyCheck {
   const unsigned AOCVersion;
 

diff  --git 
a/clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h 
b/clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
index f49dda24c9a91..ea116c73f8362 100644
--- a/clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
+++ b/clang-tools-extra/clang-tidy/bugprone/AssignmentInIfConditionCheck.h
@@ -18,7 +18,7 @@ namespace bugprone {
 /// Catches assignments within the condition clause of an if statement.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone-assignment-in-if-condition.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/assignment-in-if-condition.html
 class AssignmentInIfConditionCheck : public ClangTidyCheck {
 public:
   AssignmentInIfConditionCheck(StringRef Name, ClangTidyContext *Context)

diff  --git a/clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h 
b/clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h
index 02e6807fdd6af..836f6e47e8b72 100644
--- a/clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h
+++ b/clang-tools-extra/clang-tidy/bugprone/CopyConstructorInitCheck.h
@@ -19,7 +19,7 @@ namespace bugprone {
 /// the base class.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/misc/copy-constructor-init.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/copy-constructor-init.html
 class CopyConstructorInitCheck : public ClangTidyCheck {
 public:
   CopyConstructorInitCheck(StringRef Name, ClangTidyContext *Context)

diff  --git 
a/clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
 
b/clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
index e2e35a1a8c382..ce0ec8b81f2f7 100644
--- 
a/clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
+++ 
b/clang-tools-extra/clang-tidy/bugprone/MisplacedPointerArithmeticInAllocCheck.h
@@ -19,7 +19,7 @@ namespace bugprone {
 /// memory allocation function instead of its argument.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/misplaced-operator-in-alloc.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/misplaced-pointer-arithmetic-in-alloc.html
 class MisplacedPointerArithmeticInAllocCheck : public ClangTidyCheck {
 public:
   MisplacedPointerArithmeticInAllocCheck(StringRef Name,

diff  --git a/clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h 
b/clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
index 01090b42d62ad..083e917696e7f 100644
--- a/clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
+++ b/clang-tools-extra/clang-tidy/bugprone/SignalHandlerCheck.h
@@ -21,7 +21,7 @@ namespace bugprone {
 /// Checker for signal handler functions.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/signal-handler-check.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/bugprone/signal-handler.html
 class SignalHandlerCheck : public ClangTidyCheck {
 public:
   enum class AsyncSafeFunctionSetKind { Minimal, POSIX };

diff  --git 
a/clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h 
b/clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h
index da796242bc188..de007ff82c53b 100644
--- a/clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h
+++ b/clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.h
@@ -18,7 +18,7 @@ namespace bugprone {
 /// Finds instances where an integer is assigned to a string.
 ///
 /// For more details see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/misc/string-assignment.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/bugprone/string-integer-assignment.html
 class StringIntegerAssignmentCheck : public ClangTidyCheck {
 public:
   StringIntegerAssignmentCheck(StringRef Name, ClangTidyContext *Context)

diff  --git 
a/clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h 
b/clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
index cd299080c0eec..d71ab93d998ad 100644
--- a/clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
+++ b/clang-tools-extra/clang-tidy/cert/ProperlySeededRandomGeneratorCheck.h
@@ -22,7 +22,7 @@ namespace cert {
 /// constant expression is a security vulnerability.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/cert/properly-seeded-random-generator.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/cert/msc51-cpp.html
 class ProperlySeededRandomGeneratorCheck : public ClangTidyCheck {
 public:
   ProperlySeededRandomGeneratorCheck(StringRef Name, ClangTidyContext 
*Context);

diff  --git a/clang-tools-extra/clang-tidy/concurrency/MtUnsafeCheck.h 
b/clang-tools-extra/clang-tidy/concurrency/MtUnsafeCheck.h
index b899333bb28bc..3d3646918cdf8 100644
--- a/clang-tools-extra/clang-tidy/concurrency/MtUnsafeCheck.h
+++ b/clang-tools-extra/clang-tidy/concurrency/MtUnsafeCheck.h
@@ -18,7 +18,7 @@ namespace concurrency {
 /// Checks that non-thread-safe functions are not used.
 ///
 /// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/threads/mt-unsafe.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/concurrency/mt-unsafe.html
 class MtUnsafeCheck : public ClangTidyCheck {
 public:
   MtUnsafeCheck(StringRef Name, ClangTidyContext *Context);

diff  --git 
a/clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h 
b/clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h
index 9177359ed4621..a57fc6450c216 100644
--- a/clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h
+++ b/clang-tools-extra/clang-tidy/fuchsia/DefaultArgumentsDeclarationsCheck.h
@@ -18,7 +18,7 @@ namespace fuchsia {
 /// Default parameters are not allowed in declared functions.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/fuchsia/default-parameters.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/fuchsia/default-arguments-declarations.html
 class DefaultArgumentsDeclarationsCheck : public ClangTidyCheck {
 public:
   DefaultArgumentsDeclarationsCheck(StringRef Name, ClangTidyContext *Context)

diff  --git a/clang-tools-extra/clang-tidy/google/AvoidNSObjectNewCheck.h 
b/clang-tools-extra/clang-tidy/google/AvoidNSObjectNewCheck.h
index 68abe189d020c..940069a0d41c2 100644
--- a/clang-tools-extra/clang-tidy/google/AvoidNSObjectNewCheck.h
+++ b/clang-tools-extra/clang-tidy/google/AvoidNSObjectNewCheck.h
@@ -21,7 +21,7 @@ namespace objc {
 /// style guide.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/google/avoid-nsobject-new.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/google/objc-avoid-nsobject-new.html
 class AvoidNSObjectNewCheck : public ClangTidyCheck {
 public:
   AvoidNSObjectNewCheck(StringRef Name, ClangTidyContext *Context)

diff  --git a/clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h 
b/clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h
index 2e54e2305bc87..81ab07321a1d9 100644
--- a/clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h
+++ b/clang-tools-extra/clang-tidy/misc/ConstCorrectnessCheck.h
@@ -21,7 +21,7 @@ namespace misc {
 /// This check warns on variables which could be declared const but are not.
 ///
 /// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/misc-const-correctness.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/misc/const-correctness.html
 class ConstCorrectnessCheck : public ClangTidyCheck {
 public:
   ConstCorrectnessCheck(StringRef Name, ClangTidyContext *Context);

diff  --git a/clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h 
b/clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
index af4ac60cf9b25..42ebdf461cbc3 100644
--- a/clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
+++ b/clang-tools-extra/clang-tidy/misc/UseAnonymousNamespaceCheck.h
@@ -28,7 +28,7 @@ namespace misc {
 ///     empty string between ";" if there are other filename extensions.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/modernize/use-anonymous-namespace.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/misc/use-anonymous-namespace.html
 class UseAnonymousNamespaceCheck : public ClangTidyCheck {
 public:
   UseAnonymousNamespaceCheck(StringRef Name, ClangTidyContext *Context);

diff  --git a/clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h 
b/clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h
index d874096fc4c10..1b7947f705b38 100644
--- a/clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h
+++ b/clang-tools-extra/clang-tidy/modernize/AvoidBindCheck.h
@@ -20,7 +20,7 @@ namespace modernize {
 /// FIXME: Add support for function references and member function references.
 ///
 /// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/modernize/avoid-std-bind.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/modernize/avoid-bind.html
 class AvoidBindCheck : public ClangTidyCheck {
 public:
   AvoidBindCheck(StringRef Name, ClangTidyContext *Context);

diff  --git 
a/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h 
b/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
index 11bf49051ea9b..c2d831089d7c6 100644
--- a/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
+++ b/clang-tools-extra/clang-tidy/modernize/UseTrailingReturnTypeCheck.h
@@ -25,7 +25,7 @@ struct ClassifiedToken {
 /// Rewrites function signatures to use a trailing return type.
 ///
 /// For the user-facing documentation see:
-/// 
http://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-type-return.html
+/// 
http://clang.llvm.org/extra/clang-tidy/checks/modernize/use-trailing-return-type.html
 class UseTrailingReturnTypeCheck : public ClangTidyCheck {
 public:
   UseTrailingReturnTypeCheck(StringRef Name, ClangTidyContext *Context)

diff  --git a/clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.h 
b/clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.h
index f2c6f5ffb2d02..2afcf0a5f79d9 100644
--- a/clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.h
+++ b/clang-tools-extra/clang-tidy/objc/NSDateFormatterCheck.h
@@ -19,7 +19,7 @@ namespace objc {
 /// warnings if it contains any incorrect sub-pattern.
 ///
 /// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/objc-NSDateFormatter.html
+/// http://clang.llvm.org/extra/clang-tidy/checks/objc/nsdate-formatter.html
 class NSDateFormatterCheck : public ClangTidyCheck {
 public:
   NSDateFormatterCheck(StringRef Name, ClangTidyContext *Context)


        
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to