This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG39236e9c60e5: [clang][Interp] Fix lifetime diagnostics for
dead records (authored by tbaeder).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE
aaron.ballman accepted this revision.
aaron.ballman added a comment.
This revision is now accepted and ready to land.
LGTM!
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152132/new/
https://reviews.llvm.org/D152132
___
cfe-commits mailing lis
tbaeder updated this revision to Diff 551087.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152132/new/
https://reviews.llvm.org/D152132
Files:
clang/lib/AST/Interp/Descriptor.cpp
clang/lib/AST/Interp/InterpBlock.h
clang/lib/AST/Interp/InterpState.cpp
clang/test/AST/Interp/lifeti
tbaeder added inline comments.
Comment at: clang/lib/AST/Interp/Interp.cpp:241
bool CheckMutable(InterpState &S, CodePtr OpPC, const Pointer &Ptr) {
- assert(Ptr.isLive() && "Pointer is not live");
if (!Ptr.isMutable()) {
aaron.ballman wrote:
> I understand