[PATCH] D20499: [Temporary, Lifetime] Add lifetime marks for temporaries
Tim Shen via cfe-commits
cfe-commits at lists.llvm.org
Fri May 20 15:37:08 PDT 2016
timshen created this revision.
timshen added a reviewer: rsmith.
timshen added a subscriber: cfe-commits.
With all MaterializeTemporaryExprs coming with a ExprWithCleanups, it's
easy to add correct lifetime.end marks into the right RunCleanupsScope.
http://reviews.llvm.org/D20499
Files:
lib/CodeGen/CGCleanup.cpp
lib/CodeGen/CGDecl.cpp
lib/CodeGen/CGExpr.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/EHScopeStack.h
test/CodeGen/temporary-lifetime.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20499.58011.patch
Type: text/x-patch
Size: 11497 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160520/d23050f2/attachment.bin>
More information about the cfe-commits
mailing list