jayfoad wrote:

>From Claude: For reads through `MemoryBuffer`, `OF_TextWithCRLF` and `OF_Text` 
>behave identically on every platform. So mapping `IsText` → `OF_Text` in 
>`getFileAux` would be a one-line NFC. #228437 could then just pass 
>`/*IsText=*/true` at its three call sites. Spreading `OF_TextWithCRLF` to 
>about 60 read call sites suggests that CRLF matters on reads. It doesn't.

https://github.com/llvm/llvm-project/pull/228189
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to