summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/ProfileData/SampleProfTest.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-08-05 05:43:48 +0000
committerFangrui Song <maskray@google.com>2019-08-05 05:43:48 +0000
commitd9b948b6eb7362f36264b71795dab179906e36be (patch)
tree35f79bbd28bc13b6b4b5e07ffece5d0388964b47 /llvm/unittests/ProfileData/SampleProfTest.cpp
parent1e4f2792faf1c14a6cfdbac3c6101b5faec5fbac (diff)
downloadbcm5719-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/unittests/ProfileData/SampleProfTest.cpp')
-rw-r--r--llvm/unittests/ProfileData/SampleProfTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ProfileData/SampleProfTest.cpp b/llvm/unittests/ProfileData/SampleProfTest.cpp
index a9a8b119688..450dcd02346 100644
--- a/llvm/unittests/ProfileData/SampleProfTest.cpp
+++ b/llvm/unittests/ProfileData/SampleProfTest.cpp
@@ -44,7 +44,7 @@ struct SampleProfTest : ::testing::Test {
void createWriter(SampleProfileFormat Format, StringRef Profile) {
std::error_code EC;
std::unique_ptr<raw_ostream> OS(
- new raw_fd_ostream(Profile, EC, sys::fs::F_None));
+ new raw_fd_ostream(Profile, EC, sys::fs::OF_None));
auto WriterOrErr = SampleProfileWriter::create(OS, Format);
ASSERT_TRUE(NoError(WriterOrErr.getError()));
Writer = std::move(WriterOrErr.get());
OpenPOWER on IntegriCloud