diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/TableGen/Main.cpp')
| -rw-r--r-- | contrib/llvm-project/llvm/lib/TableGen/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/llvm-project/llvm/lib/TableGen/Main.cpp b/contrib/llvm-project/llvm/lib/TableGen/Main.cpp index b6ccc2a08593..48ded6c45a46 100644 --- a/contrib/llvm-project/llvm/lib/TableGen/Main.cpp +++ b/contrib/llvm-project/llvm/lib/TableGen/Main.cpp @@ -67,7 +67,7 @@ static int createDependencyFile(const TGParser &Parser, const char *argv0) { return reportError(argv0, "the option -d must be used together with -o\n"); std::error_code EC; - ToolOutputFile DepOut(DependFilename, EC, sys::fs::F_Text); + ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_None); if (EC) return reportError(argv0, "error opening " + DependFilename + ":" + EC.message() + "\n"); @@ -127,7 +127,7 @@ int llvm::TableGenMain(char *argv0, TableGenMainFn *MainFn) { } std::error_code EC; - ToolOutputFile OutFile(OutputFilename, EC, sys::fs::F_Text); + ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_None); if (EC) return reportError(argv0, "error opening " + OutputFilename + ":" + EC.message() + "\n"); |
