summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support/Path.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/Support/Path.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/Support/Path.cpp')
-rw-r--r--llvm/unittests/Support/Path.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index ccd72d7f176..5e0581c945b 100644
--- a/llvm/unittests/Support/Path.cpp
+++ b/llvm/unittests/Support/Path.cpp
@@ -1021,7 +1021,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
path::append(FilePathname, "test");
{
- raw_fd_ostream File(FilePathname, EC, sys::fs::F_Text);
+ raw_fd_ostream File(FilePathname, EC, sys::fs::OF_Text);
ASSERT_NO_ERROR(EC);
File << '\n';
}
@@ -1032,7 +1032,7 @@ TEST_F(FileSystemTest, CarriageReturn) {
}
{
- raw_fd_ostream File(FilePathname, EC, sys::fs::F_None);
+ raw_fd_ostream File(FilePathname, EC, sys::fs::OF_None);
ASSERT_NO_ERROR(EC);
File << '\n';
}
@@ -1418,7 +1418,7 @@ TEST_F(FileSystemTest, AppendSetsCorrectFileOffset) {
fs::CD_OpenExisting};
// Write some data and re-open it with every possible disposition (this is a
- // hack that shouldn't work, but is left for compatibility. F_Append
+ // hack that shouldn't work, but is left for compatibility. OF_Append
// overrides
// the specified disposition.
for (fs::CreationDisposition Disp : Disps) {
OpenPOWER on IntegriCloud