r234599 - Try to make MSVC happy.

Rafael Espindola rafael.espindola at gmail.com
Fri Apr 10 07:37:39 PDT 2015


Author: rafael
Date: Fri Apr 10 09:37:39 2015
New Revision: 234599

URL: http://llvm.org/viewvc/llvm-project?rev=234599&view=rev
Log:
Try to make MSVC happy.

Modified:
    cfe/trunk/include/clang/Frontend/CompilerInstance.h

Modified: cfe/trunk/include/clang/Frontend/CompilerInstance.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Frontend/CompilerInstance.h?rev=234599&r1=234598&r2=234599&view=diff
==============================================================================
--- cfe/trunk/include/clang/Frontend/CompilerInstance.h (original)
+++ cfe/trunk/include/clang/Frontend/CompilerInstance.h Fri Apr 10 09:37:39 2015
@@ -156,6 +156,9 @@ class CompilerInstance : public ModuleLo
     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.





More information about the cfe-commits mailing list