[clang] Fix preprocessed block comment newline on windows containing extra carriage return (PR #205084)

Joel E. Denny via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 13 07:25:30 PDT 2026


================
@@ -112,6 +112,13 @@
         ),
     )
 )
+
+cr = "\r" if platform.system() == "Darwin" else r"\r"
----------------
jdenny-ornl wrote:

`cr = "\r"` is not portable beyond Darwin?

https://github.com/llvm/llvm-project/pull/205084


More information about the cfe-commits mailing list