[clang] [LifetimeSafety] Improve destroyed and invalidated diagnostic notes (PR #204900)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Jun 20 07:06:11 PDT 2026
================
@@ -441,6 +423,19 @@ class LifetimeSafetySemaHelperImpl : public LifetimeSafetySemaHelper {
}
private:
+ void reportInvalidationNote(const Expr *InvalidationExpr,
+ StringRef InvalidatedSubject) {
+ if (isa<CXXDeleteExpr>(InvalidationExpr)) {
----------------
iitianpushkar wrote:
Did it.
https://github.com/llvm/llvm-project/pull/204900
More information about the cfe-commits
mailing list