[llvm-bugs] [Bug 49019] New: preprocessor inserts additional \r into commented lines

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Feb 3 07:06:32 PST 2021


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: unassignedclangbugs at nondot.org
          Reporter: jquante at web.de
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210203/dcc94c63/attachment.html>


More information about the llvm-bugs mailing list