[clang] [LifetimeSafety] Add support for `new`/`delete` (PR #192504)
Utkarsh Saxena via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 04:42:43 PDT 2026
================
@@ -47,20 +47,22 @@ class AccessPath {
ValueDecl,
MaterializeTemporary,
PlaceholderParam,
- PlaceholderThis
+ PlaceholderThis,
+ HeapAllocation,
----------------
usx95 wrote:
nit: Let's call this `NewAllocation` to better match the intent and the corresponding `CXXNewExpr *`
https://github.com/llvm/llvm-project/pull/192504
More information about the cfe-commits
mailing list