зеркало из https://github.com/microsoft/clang-1.git
Fix instantiate-function-1.cpp.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
df3b208969
Коммит
bde2008586
|
@ -167,7 +167,6 @@ Sema::ActOnCXXTypeConstructExpr(SourceRange TypeRange, TypeTy *TypeRep,
|
|||
// FIXME: Is this correct (I don't think so). Instead, we should have an
|
||||
// CXXUnresolvedTemporaryObjectExpr node for this.
|
||||
CXXTempVarDecl *Temp = CXXTempVarDecl::Create(Context, CurContext, Ty);
|
||||
ExprTemporaries.push_back(Temp);
|
||||
|
||||
return Owned(new (Context) CXXTemporaryObjectExpr(Context, Temp, 0, Ty,
|
||||
TyBeginLoc,
|
||||
|
|
Загрузка…
Ссылка в новой задаче