Author: rsmith
Date: Sun Jul 17 14:24:51 2016
New Revision: 275727

URL: http://llvm.org/viewvc/llvm-project?rev=275727&view=rev
Log:
PR28589: attempt to work around MSVC rejects-valid.

Modified:
    cfe/trunk/lib/Frontend/ChainedIncludesSource.cpp

Modified: cfe/trunk/lib/Frontend/ChainedIncludesSource.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/ChainedIncludesSource.cpp?rev=275727&r1=275726&r2=275727&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/ChainedIncludesSource.cpp (original)
+++ cfe/trunk/lib/Frontend/ChainedIncludesSource.cpp Sun Jul 17 14:24:51 2016
@@ -66,7 +66,8 @@ class ChainedIncludesSource
 public:
   ChainedIncludesSource(std::vector<std::unique_ptr<CompilerInstance>> CIs,
                         IntrusiveRefCntPtr<ExternalSemaSource> FinalReader)
-      : ChainedIncludesSourceMembers{{std::move(CIs)}, std::move(FinalReader)},
+      : ChainedIncludesSourceMembers(ChainedIncludesSourceMembers{
+            {std::move(CIs)}, std::move(FinalReader)}),
         MultiplexExternalSemaSource(Impl, *this->FinalReader) {}
 };
 }


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to