]> granicus.if.org Git - clang/commitdiff
Fixed bug in call to CXXTemporaryObjectExpr ctor.
authorEnea Zaffanella <zaffanella@cs.unipr.it>
Sat, 7 Sep 2013 11:22:02 +0000 (11:22 +0000)
committerEnea Zaffanella <zaffanella@cs.unipr.it>
Sat, 7 Sep 2013 11:22:02 +0000 (11:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190249 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaInit.cpp

index 2eeb729dc8ef6a40a018b637742ab2f99a22b930..ab80278f6d3e83f938967727038e83b9530877e7 100644 (file)
@@ -5129,8 +5129,8 @@ PerformConstructorInitialization(Sema &S,
       new (S.Context) CXXTemporaryObjectExpr(S.Context, Constructor,
                                              TSInfo, ConstructorArgs,
                                              ParenOrBraceRange,
-                                             IsListInitialization,
                                              HadMultipleCandidates,
+                                             IsListInitialization,
                                              ConstructorInitRequiresZeroInit));
   } else {
     CXXConstructExpr::ConstructionKind ConstructKind =