summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-04-10 14:37:39 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-04-10 14:37:39 +0000
commit5cb3cf03127c636df1d555a964e0f41ea32a8ebf (patch)
tree99a98ae80c7e6695d9808a70b241becdc9669265
parentc80a40661c679880cb687f0154b75815edd74c3b (diff)
downloadbcm5719-llvm-5cb3cf03127c636df1d555a964e0f41ea32a8ebf.tar.gz
bcm5719-llvm-5cb3cf03127c636df1d555a964e0f41ea32a8ebf.zip
Try to make MSVC happy.
llvm-svn: 234599
-rw-r--r--clang/include/clang/Frontend/CompilerInstance.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/include/clang/Frontend/CompilerInstance.h b/clang/include/clang/Frontend/CompilerInstance.h
index dbdf6597be1..9adfecfc8b2 100644
--- a/clang/include/clang/Frontend/CompilerInstance.h
+++ b/clang/include/clang/Frontend/CompilerInstance.h
@@ -156,6 +156,9 @@ class CompilerInstance : public ModuleLoader {
OutputFile(const std::string &filename, const std::string &tempFilename,
std::unique_ptr<raw_ostream> OS)
: Filename(filename), TempFilename(tempFilename), OS(std::move(OS)) {}
+ OutputFile(OutputFile &&O)
+ : Filename(std::move(O.Filename)),
+ TempFilename(std::move(O.TempFilename)), OS(std::move(O.OS)) {}
};
/// The list of active output files.
OpenPOWER on IntegriCloud