[PATCH] D99426: [Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text

Alexandre Ganea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 1 15:37:33 PDT 2021


aganea added a comment.

I am still concerned by the fact that this patch doesn't fix the issue mentionned in https://reviews.llvm.org/D96363#2650460
Was the intention to fix that issue? Will the fix be done in a subsequent patch?



================
Comment at: llvm/lib/Support/Windows/Path.inc:1087
+  if (Flags & OF_CRLF) {
+    assert(Flags & OF_Text, "Flags set OF_CRLF without OF_Text");
     CrtOpenFlags |= _O_TEXT;
----------------
`s/,/ &&/`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99426/new/

https://reviews.llvm.org/D99426



More information about the cfe-commits mailing list