]> granicus.if.org Git - clang/commitdiff
Try to make MSVC happy.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 10 Apr 2015 14:37:39 +0000 (14:37 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 10 Apr 2015 14:37:39 +0000 (14:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234599 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Frontend/CompilerInstance.h

index dbdf6597be18e31c33f55ddd04b44e6832e2a2c1..9adfecfc8b24b33626ff022c13c505234a8d0421 100644 (file)
@@ -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.