[all-commits] [llvm/llvm-project] d10101: [LifetimeSafety] Store cleanup expressions for tem...
NeKon69 via All-commits
all-commits at lists.llvm.org
Mon Jun 1 10:40:02 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d1010189961f8060cebbe2543f5d586d4fbad263
https://github.com/llvm/llvm-project/commit/d1010189961f8060cebbe2543f5d586d4fbad263
Author: NeKon69 <nobodqwe at gmail.com>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M clang/include/clang/Analysis/CFG.h
M clang/lib/Analysis/CFG.cpp
M clang/lib/Analysis/LifetimeSafety/FactsGenerator.cpp
M clang/test/Sema/warn-lifetime-safety.cpp
Log Message:
-----------
[LifetimeSafety] Store cleanup expressions for temporaries (#200568)
Now in `CFGFullExprCleanup` we also store a cleanup expressions to be
able to get an accurate location where destruction happened.
This helps user understand lifetime semantics of objects better.
Closes #195503
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list