https://bugs.llvm.org/show_bug.cgi?id=49019

            Bug ID: 49019
           Summary: preprocessor inserts additional \r into commented
                    lines
           Product: clang
           Version: 11.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

When running preprocessor with -E -C option (keep comments), an additional \r
is inserted at the end of every commented line inside a block comment.

Example:
/****\r\n
 *\r\n
 ****/\r\n

clang -E -C
/****\r\r\n
 *\r\r\n
 ****/\r\n

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to