[clang] [clang][analyzer] Bring cplusplus.ArrayDelete out of alpha (PR #83985)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 14 08:04:51 PDT 2024


================
@@ -220,11 +220,11 @@ CXXDeleteChecker::PtrCastVisitor::VisitNode(const ExplodedNode *N,
                                                     /*addPosRange=*/true);
 }
 
-void ento::registerCXXArrayDeleteChecker(CheckerManager &mgr) {
+void ento::registerArrayDeleteChecker(CheckerManager &mgr) {
----------------
Discookie wrote:

Brings it more in line with similar C++ checkers, see eg. `DeleteWithNonVirtualDtorChecker` in the same file.

The only place where this name matters is the `Checkers.td` where it is under the `cplusplus` group anyways.

https://github.com/llvm/llvm-project/pull/83985


More information about the cfe-commits mailing list