[clang-tidy][docs] Fix a couple of missed cases from 6e566bc552

A few of the checks had documentation URLs that weren't updated in the aforementioned commit.
This commit is contained in:
Nathan James 2022-06-22 21:37:16 +01:00
parent 24e8cf45a3
commit 165d69337a
No known key found for this signature in database
GPG Key ID: CC007AFCDA90AA5F
10 changed files with 10 additions and 10 deletions

View File

@ -19,7 +19,7 @@ namespace cert {
/// This check warns for such modifications.
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/cert-dcl58-cpp.html
/// https://clang.llvm.org/extra/clang-tidy/checks/cert/dcl58-cpp.html
class DontModifyStdNamespaceCheck : public ClangTidyCheck {
public:
DontModifyStdNamespaceCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -19,7 +19,7 @@ namespace cert {
/// object.
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/cert-dcl21-cpp.html
/// https://clang.llvm.org/extra/clang-tidy/checks/cert/dcl21-cpp.html
class PostfixOperatorCheck : public ClangTidyCheck {
public:
PostfixOperatorCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -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/threads/mt-unsafe.html
class MtUnsafeCheck : public ClangTidyCheck {
public:
MtUnsafeCheck(StringRef Name, ClangTidyContext *Context);

View File

@ -19,7 +19,7 @@ namespace google {
/// replaces them with equivalent names containing "suite".
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/google-upgrade-googletest-case.html
/// https://clang.llvm.org/extra/clang-tidy/checks/google/upgrade-googletest-case.html
class UpgradeGoogletestCaseCheck : public ClangTidyCheck {
public:
UpgradeGoogletestCaseCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -33,7 +33,7 @@ namespace build {
/// Corresponding cpplint.py check name: `build/namespaces`.
///
/// For the user-facing documentation see:
/// https://clang.llvm.org/extra/clang-tidy/checks/google-build-using-namespace.html
/// https://clang.llvm.org/extra/clang-tidy/checks/google/build-using-namespace.html
class UsingNamespaceDirectiveCheck : public ClangTidyCheck {
public:
UsingNamespaceDirectiveCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -18,7 +18,7 @@ namespace hicpp {
/// Check for thrown exceptions and enforce they are all derived from std::exception.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp-exception-baseclass.html
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp/exception-baseclass.html
class ExceptionBaseclassCheck : public ClangTidyCheck {
public:
ExceptionBaseclassCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -20,7 +20,7 @@ namespace hicpp {
/// without a final 'else'-branch.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp-multiway-paths-covered.html
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp/multiway-paths-covered.html
class MultiwayPathsCoveredCheck : public ClangTidyCheck {
public:
MultiwayPathsCoveredCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -18,7 +18,7 @@ namespace hicpp {
/// Find assembler statements. No fix is offered.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp-no-assembler.html
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp/no-assembler.html
class NoAssemblerCheck : public ClangTidyCheck {
public:
NoAssemblerCheck(StringRef Name, ClangTidyContext *Context)

View File

@ -19,7 +19,7 @@ namespace hicpp {
/// bitwise operations on signed integer types.
///
/// For the user-facing documentation see:
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp-signed-bitwise.html
/// http://clang.llvm.org/extra/clang-tidy/checks/hicpp/signed-bitwise.html
class SignedBitwiseCheck : public ClangTidyCheck {
public:
SignedBitwiseCheck(StringRef Name, ClangTidyContext *Context);

View File

@ -43,7 +43,7 @@ struct CognitiveComplexity final {
// For details you can look at the Specification at
// https://www.sonarsource.com/docs/CognitiveComplexity.pdf
// or user-facing docs at
// http://clang.llvm.org/extra/clang-tidy/checks/readability-function-cognitive-complexity.html
// http://clang.llvm.org/extra/clang-tidy/checks/readability/function-cognitive-complexity.html
// Here are all the possible reasons:
enum Criteria : uint8_t {
None = 0U,