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 /lldb/source/Utility/Reproducer.cpp | |
| parent | 1e4f2792faf1c14a6cfdbac3c6101b5faec5fbac (diff) | |
| download | llvm-d9b948b6eb7362f36264b71795dab179906e36be.tar.gz llvm-d9b948b6eb7362f36264b71795dab179906e36be.tar.bz2 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 'lldb/source/Utility/Reproducer.cpp')
| -rw-r--r-- | lldb/source/Utility/Reproducer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Utility/Reproducer.cpp b/lldb/source/Utility/Reproducer.cpp index 479ed311d1de..90cfca2c4f48 100644 --- a/lldb/source/Utility/Reproducer.cpp +++ b/lldb/source/Utility/Reproducer.cpp @@ -176,7 +176,7 @@ void Generator::AddProvidersToIndex() { std::error_code EC; auto strm = llvm::make_unique<raw_fd_ostream>(index.GetPath(), EC, - sys::fs::OpenFlags::F_None); + sys::fs::OpenFlags::OF_None); yaml::Output yout(*strm); std::vector<std::string> files; @@ -254,7 +254,7 @@ void CommandProvider::Keep() { FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file); std::error_code ec; - llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::F_Text); + llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_Text); if (ec) return; yaml::Output yout(os); @@ -266,7 +266,7 @@ void CommandProvider::Discard() { m_data_recorders.clear(); } void VersionProvider::Keep() { FileSpec file = GetRoot().CopyByAppendingPathComponent(Info::file); std::error_code ec; - llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::F_Text); + llvm::raw_fd_ostream os(file.GetPath(), ec, llvm::sys::fs::OF_Text); if (ec) return; os << m_version << "\n"; |
