MaskRay added a comment. /// 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'. /// Only makes a difference on windows. OF_CRLF = 2, /// The file should be opened in text mode and use a carriage linefeed '\r\n' /// on platforms that make this distinction. OF_TextWithCRLF = OF_Text | OF_CRLF,
`OF_TextWithCRLF` needs to say what platforms make a difference. Can you mention in the description for Windows and z/OS, how these flags make a difference. It's still a bit unclear to me. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99426/new/ https://reviews.llvm.org/D99426 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits