summaryrefslogtreecommitdiffstats
path: root/lib/Frontend/ChainedIncludesSource.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2016-07-17 19:24:51 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2016-07-17 19:24:51 +0000
commit63fb39eeeda536661f57ba26802d1e56f599489c (patch)
tree00a96260ceef1c2b5425e83e742f13b5f4124abf /lib/Frontend/ChainedIncludesSource.cpp
parent8a9100c97384e4bd1ee369215c0412fcc35f0b3f (diff)
PR28589: attempt to work around MSVC rejects-valid.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ChainedIncludesSource.cpp')
-rw-r--r--lib/Frontend/ChainedIncludesSource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Frontend/ChainedIncludesSource.cpp b/lib/Frontend/ChainedIncludesSource.cpp
index ec3207ab8f..708e262de6 100644
--- a/lib/Frontend/ChainedIncludesSource.cpp
+++ b/lib/Frontend/ChainedIncludesSource.cpp
@@ -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) {}
};
}