[clang] [LifetimeSafety] Add support for `new`/`delete` (PR #192504)
via cfe-commits
cfe-commits at lists.llvm.org
Sun Apr 19 04:51:53 PDT 2026
================
@@ -47,20 +47,22 @@ class AccessPath {
ValueDecl,
MaterializeTemporary,
PlaceholderParam,
- PlaceholderThis
+ PlaceholderThis,
+ HeapAllocation,
----------------
NeKon69 wrote:
Well this is exactly why I named it that, because it is only emitted on `new`, and not placement new. I am open to discuss this nonetheless.
https://github.com/llvm/llvm-project/pull/192504
More information about the cfe-commits
mailing list