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: unassignedclangb...@nondot.org
          Reporter: erik.verbrug...@me.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to