[clang] [LifetimeSafety] Improve destroyed and invalidated diagnostic notes (PR #204900)

via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 20 02:46:45 PDT 2026


================
@@ -263,7 +263,6 @@ class LifetimeChecker {
             // Use-after-invalidation of a parameter.
             SemaHelper->reportUseAfterInvalidation(
                 InvalidatedPVD, UF->getUseExpr(), Warning.InvalidatedByExpr);
-
----------------
NeKon69 wrote:

Unrelated?

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


More information about the cfe-commits mailing list