[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:42 PDT 2026
================
@@ -224,6 +226,32 @@ class LifetimeChecker {
}
}
+ void checkDestroyed(const DestroyOriginFact *DOF) {
----------------
usx95 wrote:
This is identical to `checkInvalidation`. Consider refactoring to reuse the repeated core logic here.
https://github.com/llvm/llvm-project/pull/192504
More information about the cfe-commits
mailing list