[clang] a3a66de - [clang][analyzer][NFC] Change PlacementNewChecker into PlacementNew in documentation

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


Author: Piotr Zegar
Date: 2023-08-11T16:04:15Z
New Revision: a3a66de37fc038d46d7146c9dccccfe55f26fd3a

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

LOG: [clang][analyzer][NFC] Change PlacementNewChecker into PlacementNew in documentation

Check name according to Checkers.td is actually a PlacementNew.

Reviewed By: steakhal

Differential Revision: https://reviews.llvm.org/D157702

Added: 
    

Modified: 
    clang/docs/analyzer/checkers.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/analyzer/checkers.rst b/clang/docs/analyzer/checkers.rst
index 97b5369ac86c9b..d3a4ebcaf02025 100644
--- a/clang/docs/analyzer/checkers.rst
+++ b/clang/docs/analyzer/checkers.rst
@@ -321,10 +321,10 @@ Check for memory leaks. Traces memory managed by new/delete.
    int *p = new int;
  } // warn
 
-.. _cplusplus-PlacementNewChecker:
+.. _cplusplus-PlacementNew:
 
-cplusplus.PlacementNewChecker (C++)
-"""""""""""""""""""""""""""""""""""
+cplusplus.PlacementNew (C++)
+""""""""""""""""""""""""""""
 Check if default placement new is provided with pointers to sufficient storage capacity.
 
 .. code-block:: cpp


        


More information about the cfe-commits mailing list