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 | d61e0b8c8dfa759322f0a3a0b21e05b6f8e7614a (patch) | |
tree | 6ef918fef3489f30454a79840941c16c3cee810d /clang-move | |
parent | e890df0ce823e8f83a63716699391f78b0b7ae11 (diff) |
Rename F_{None,Text,Append} to OF_{None,Text,Append}. NFC
F_{None,Text,Append} are kept for compatibility since r334221.
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@367800 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-move')
-rw-r--r-- | clang-move/tool/ClangMove.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-move/tool/ClangMove.cpp b/clang-move/tool/ClangMove.cpp index 3b0d15f6..2df7df7f 100644 --- a/clang-move/tool/ClangMove.cpp +++ b/clang-move/tool/ClangMove.cpp @@ -30,7 +30,7 @@ namespace { std::error_code CreateNewFile(const llvm::Twine &path) { int fd = 0; if (std::error_code ec = llvm::sys::fs::openFileForWrite( - path, fd, llvm::sys::fs::CD_CreateAlways, llvm::sys::fs::F_Text)) + path, fd, llvm::sys::fs::CD_CreateAlways, llvm::sys::fs::OF_Text)) return ec; return llvm::sys::Process::SafelyCloseFileDescriptor(fd); |