[PATCH] D101506: Support: Remove F_{None,Text,Append} compatibility synonyms, NFC
Duncan P. N. Exon Smith via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 30 10:28:34 PDT 2021
dexonsmith updated this revision to Diff 341966.
dexonsmith edited the summary of this revision.
dexonsmith added a comment.
Rebased on top of https://reviews.llvm.org/D101506 -- that updates all in-tree users, and now this is just removing the API.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101506/new/
https://reviews.llvm.org/D101506
Files:
llvm/include/llvm/Support/FileSystem.h
Index: llvm/include/llvm/Support/FileSystem.h
===================================================================
--- llvm/include/llvm/Support/FileSystem.h
+++ llvm/include/llvm/Support/FileSystem.h
@@ -755,12 +755,10 @@
enum OpenFlags : unsigned {
OF_None = 0,
- F_None = 0, // For compatibility
/// The file should be opened in text mode on platforms like z/OS that make
/// this distinction.
OF_Text = 1,
- F_Text = 1, // For compatibility
/// The file should use a carriage linefeed '\r\n'. This flag should only be
/// used with OF_Text. Only makes a difference on Windows.
@@ -773,7 +771,6 @@
/// The file should be opened in append mode.
OF_Append = 4,
- F_Append = 4, // For compatibility
/// Delete the file on close. Only makes a difference on windows.
OF_Delete = 8,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101506.341966.patch
Type: text/x-patch
Size: 823 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210430/712d69d1/attachment.bin>
More information about the cfe-commits
mailing list