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: unassignedclangb...@nondot.org
          Reporter: jqua...@web.de
                CC: llvm-bugs@lists.llvm.org, neeil...@live.com,
                    richard-l...@metafoo.co.uk

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
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to