Skip to content

Commit 3302af9

Browse files
committed
Support: Remove F_{None,Text,Append} compatibility synonyms, NFC
Remove the compatibility spellings of `OF_{None,Text,Append}` that were left behind by 1f67a3c. No functionality change here, just an API cleanup. Differential Revision: https://reviews.llvm.org/D101506
1 parent 3bc899b commit 3302af9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

llvm/include/llvm/Support/FileSystem.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,12 +755,10 @@ enum FileAccess : unsigned {
755755

756756
enum OpenFlags : unsigned {
757757
OF_None = 0,
758-
F_None = 0, // For compatibility
759758

760759
/// The file should be opened in text mode on platforms like z/OS that make
761760
/// this distinction.
762761
OF_Text = 1,
763-
F_Text = 1, // For compatibility
764762

765763
/// The file should use a carriage linefeed '\r\n'. This flag should only be
766764
/// used with OF_Text. Only makes a difference on Windows.
@@ -773,7 +771,6 @@ enum OpenFlags : unsigned {
773771

774772
/// The file should be opened in append mode.
775773
OF_Append = 4,
776-
F_Append = 4, // For compatibility
777774

778775
/// Delete the file on close. Only makes a difference on windows.
779776
OF_Delete = 8,

0 commit comments

Comments
 (0)