[llvm-bugs] [Bug 33124] New: ARCMT does not handle \r\n correctly

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 22 04:32:17 PDT 2017


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

            Bug ID: 33124
           Summary: ARCMT does not handle \r\n correctly
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Erik.Verbruggen at Me.com
                CC: llvm-bugs at lists.llvm.org

When rewriting, the ranges which include the "end of line" (so \n on unix) do
not handle windows line endings (\r\n): the size of considered to be 1. So, on
Windows, the result file contains sequences of \r\r\n as line-endings.

This is not visible when running the test-suite from an svn check-out, because
the test files are marked as binary. However, with a git repository on windows,
this is quite visible.

-- 
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/20170522/ab1798f1/attachment.html>


More information about the llvm-bugs mailing list