diff options
| -rw-r--r-- | clang/include/clang/Frontend/CompilerInstance.h | 3 |
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. |

