r275727 - PR28589: attempt to work around MSVC rejects-valid.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 17 12:24:52 PDT 2016
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) {}
};
}
More information about the cfe-commits
mailing list