[clang] [LifetimeSafety] Improve destroyed and invalidated diagnostic notes (PR #204900)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 19 18:52:50 PDT 2026
================
@@ -64,6 +64,7 @@ class LifetimeSafetySemaHelper {
virtual void reportUseAfterScope(const Expr *IssueExpr, const Expr *UseExpr,
const Expr *MovedExpr,
SourceLocation FreeLoc,
+ const internal::AccessPath &ExpiredPath,
----------------
NeKon69 wrote:
No need to pass in the access path, you can use other parameters to get the same information.
https://github.com/llvm/llvm-project/pull/204900
More information about the cfe-commits
mailing list