[clang] [LifetimeSafety] Extend function handling invalidating calls (PR #195064)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 30 06:46:42 PDT 2026
================
@@ -540,6 +540,73 @@ void function_captured_ref_invalidated() {
} // namespace callable_wrappers
+namespace manual_destruction {
+
+void explicit_destructor_invalidates_pointer() {
----------------
NeKon69 wrote:
I thought LifetimeSafety is a project that aims to prevent use after free errors, not double free ones?
https://github.com/llvm/llvm-project/pull/195064
More information about the cfe-commits
mailing list