[PATCH] D121372: [clang-tidy][docs][NFC] Update URL and docs of PostfixOperatorCheck

Balázs Benics via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 10 04:14:28 PST 2022


steakhal created this revision.
steakhal added reviewers: whisperity, aaron.ballman, njames93, LegalizeAdulthood.
steakhal added a project: clang-tools-extra.
Herald added subscribers: carlosgalvezp, martong, rnkovacs, xazax.hun.
Herald added a project: All.
steakhal requested review of this revision.
Herald added a subscriber: cfe-commits.

The docs URL was dangling, and the docs suggested that it has no fixits, but it actually had.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121372

Files:
  clang-tools-extra/clang-tidy/cert/PostfixOperatorCheck.h
  clang-tools-extra/docs/clang-tidy/checks/list.rst


Index: clang-tools-extra/docs/clang-tidy/checks/list.rst
===================================================================
--- clang-tools-extra/docs/clang-tidy/checks/list.rst
+++ clang-tools-extra/docs/clang-tidy/checks/list.rst
@@ -113,7 +113,7 @@
    `bugprone-unused-return-value <bugprone-unused-return-value.html>`_,
    `bugprone-use-after-move <bugprone-use-after-move.html>`_,
    `bugprone-virtual-near-miss <bugprone-virtual-near-miss.html>`_, "Yes"
-   `cert-dcl21-cpp <cert-dcl21-cpp.html>`_,
+   `cert-dcl21-cpp <cert-dcl21-cpp.html>`_, "Yes"
    `cert-dcl50-cpp <cert-dcl50-cpp.html>`_,
    `cert-dcl58-cpp <cert-dcl58-cpp.html>`_,
    `cert-env33-c <cert-env33-c.html>`_,
Index: clang-tools-extra/clang-tidy/cert/PostfixOperatorCheck.h
===================================================================
--- clang-tools-extra/clang-tidy/cert/PostfixOperatorCheck.h
+++ clang-tools-extra/clang-tidy/cert/PostfixOperatorCheck.h
@@ -19,7 +19,7 @@
 /// object.
 ///
 /// For the user-facing documentation see:
-/// http://clang.llvm.org/extra/clang-tidy/checks/cert-postfix-operator.html
+/// https://clang.llvm.org/extra/clang-tidy/checks/cert-dcl21-cpp.html
 class PostfixOperatorCheck : public ClangTidyCheck {
 public:
   PostfixOperatorCheck(StringRef Name, ClangTidyContext *Context)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121372.414339.patch
Type: text/x-patch
Size: 1305 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220310/913ed73a/attachment-0001.bin>


More information about the cfe-commits mailing list