diff options
author | Fangrui Song <maskray@google.com> | 2019-08-05 05:43:48 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-08-05 05:43:48 +0000 |
commit | d9b948b6eb7362f36264b71795dab179906e36be (patch) | |
tree | 35f79bbd28bc13b6b4b5e07ffece5d0388964b47 /llvm/lib/TableGen/Main.cpp | |
parent | 1e4f2792faf1c14a6cfdbac3c6101b5faec5fbac (diff) | |
download | bcm5719-llvm-d9b948b6eb7362f36264b71795dab179906e36be.tar.gz bcm5719-llvm-d9b948b6eb7362f36264b71795dab179906e36be.zip |
Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
F_{None,Text,Append} are kept for compatibility since r334221.
llvm-svn: 367800
Diffstat (limited to 'llvm/lib/TableGen/Main.cpp')
-rw-r--r-- | llvm/lib/TableGen/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/TableGen/Main.cpp b/llvm/lib/TableGen/Main.cpp index bcd39584e45..f51267f7ce4 100644 --- a/llvm/lib/TableGen/Main.cpp +++ b/llvm/lib/TableGen/Main.cpp @@ -64,7 +64,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_Text); if (EC) return reportError(argv0, "error opening " + DependFilename + ":" + EC.message() + "\n"); @@ -122,7 +122,7 @@ int llvm::TableGenMain(char *argv0, TableGenMainFn *MainFn) { return 0; std::error_code EC; - ToolOutputFile OutFile(OutputFilename, EC, sys::fs::F_Text); + ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text); if (EC) return reportError(argv0, "error opening " + OutputFilename + ":" + EC.message() + "\n"); |