[clang-tools-extra] 887bece - [clang-tidy][NFC] Update clang-analyzer-cplusplus.PlacementNew doc

Piotr Zegar via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 11 09:07:39 PDT 2023


Author: Piotr Zegar
Date: 2023-08-11T16:06:45Z
New Revision: 887bece66c80fe2bc3f9010f34f4fccf0a2f964e

URL: https://github.com/llvm/llvm-project/commit/887bece66c80fe2bc3f9010f34f4fccf0a2f964e
DIFF: https://github.com/llvm/llvm-project/commit/887bece66c80fe2bc3f9010f34f4fccf0a2f964e.diff

LOG: [clang-tidy][NFC] Update clang-analyzer-cplusplus.PlacementNew doc

Re-generate documentation for cplusplus.PlacementNew
using gen-static-analyzer-docs.py

Added: 
    

Modified: 
    clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst
    clang-tools-extra/docs/clang-tidy/checks/list.rst

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst b/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst
index 7f75e2d5315dae..c5d19a7deeb2e8 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/clang-analyzer/cplusplus.PlacementNew.rst
@@ -1,4 +1,6 @@
 .. title:: clang-tidy - clang-analyzer-cplusplus.PlacementNew
+.. meta::
+   :http-equiv=refresh: 5;URL=https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-placementnew
 
 clang-analyzer-cplusplus.PlacementNew
 =====================================
@@ -6,5 +8,7 @@ clang-analyzer-cplusplus.PlacementNew
 Check if default placement new is provided with pointers to sufficient storage
 capacity.
 
-The clang-analyzer-cplusplus.PlacementNew check is an alias of
-Clang Static Analyzer cplusplus.PlacementNew.
+The clang-analyzer-cplusplus.PlacementNew check is an alias, please see
+`Clang Static Analyzer Available Checkers
+<https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-placementnew>`_
+for more information.

diff  --git a/clang-tools-extra/docs/clang-tidy/checks/list.rst b/clang-tools-extra/docs/clang-tidy/checks/list.rst
index 6dfdf34e9d026f..bbacd7458c6c3d 100644
--- a/clang-tools-extra/docs/clang-tidy/checks/list.rst
+++ b/clang-tools-extra/docs/clang-tidy/checks/list.rst
@@ -421,7 +421,7 @@ Clang-Tidy Checks
    `clang-analyzer-cplusplus.Move <clang-analyzer/cplusplus.Move.html>`_, Clang Static Analyzer cplusplus.Move,
    `clang-analyzer-cplusplus.NewDelete <clang-analyzer/cplusplus.NewDelete.html>`_, `Clang Static Analyzer cplusplus.NewDelete <https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-newdelete>`_,
    `clang-analyzer-cplusplus.NewDeleteLeaks <clang-analyzer/cplusplus.NewDeleteLeaks.html>`_, `Clang Static Analyzer cplusplus.NewDeleteLeaks <https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-newdeleteleaks>`_,
-   `clang-analyzer-cplusplus.PlacementNew <clang-analyzer/cplusplus.PlacementNew.html>`_, Clang Static Analyzer cplusplus.PlacementNew,
+   `clang-analyzer-cplusplus.PlacementNew <clang-analyzer/cplusplus.PlacementNew.html>`_, `Clang Static Analyzer cplusplus.PlacementNew <https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-placementnew>`_,
    `clang-analyzer-cplusplus.PureVirtualCall <clang-analyzer/cplusplus.PureVirtualCall.html>`_, Clang Static Analyzer cplusplus.PureVirtualCall,
    `clang-analyzer-cplusplus.StringChecker <clang-analyzer/cplusplus.StringChecker.html>`_, `Clang Static Analyzer cplusplus.StringChecker <https://clang.llvm.org/docs/analyzer/checkers.html#cplusplus-stringchecker>`_,
    `clang-analyzer-deadcode.DeadStores <clang-analyzer/deadcode.DeadStores.html>`_, `Clang Static Analyzer deadcode.DeadStores <https://clang.llvm.org/docs/analyzer/checkers.html#deadcode-deadstores>`_,


        


More information about the cfe-commits mailing list