diff options
author | John McCall <rjmccall@apple.com> | 2011-08-26 08:02:37 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2011-08-26 08:02:37 +0000 |
commit | fd71fb81c5f9382caf0131946e890b133e12ceb5 (patch) | |
tree | ddc3ffbfff70ee215ae5a79006e81483b644e0b9 /lib/CodeGen/CGExpr.cpp | |
parent | 4418439220a8f8e0b1deffdccce2354854c702f5 (diff) |
What say we document some of these AggValueSlot flags a bit
better.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138628 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
-rw-r--r-- | lib/CodeGen/CGExpr.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGExpr.cpp b/lib/CodeGen/CGExpr.cpp index 88536e2acd..59b8fefb49 100644 --- a/lib/CodeGen/CGExpr.cpp +++ b/lib/CodeGen/CGExpr.cpp @@ -2326,7 +2326,7 @@ CodeGenFunction::EmitCXXTypeidLValue(const CXXTypeidExpr *E) { LValue CodeGenFunction::EmitCXXBindTemporaryLValue(const CXXBindTemporaryExpr *E) { AggValueSlot Slot = CreateAggTemp(E->getType(), "temp.lvalue"); - Slot.setLifetimeExternallyManaged(); + Slot.setExternallyDestructed(); EmitAggExpr(E->getSubExpr(), Slot); EmitCXXTemporary(E->getTemporary(), Slot.getAddr()); return MakeAddrLValue(Slot.getAddr(), E->getType()); |