http://llvm.org/bugs/show_bug.cgi?id=20552
Bug ID: 20552
Summary: -frewrite-includes produces files with inconsistent
line endings
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
It's really easy to get into this situation on Windows if you have a project
that uses Unix style line endings that includes Windows system headers. Those
headers will have DOS line endings, and simply concatenating the text from two
headers will result in a mixed file. Making matters worse, we end up with
stuff like:
#if 0 /* expanded by -frewrite-includes */^M
#pragma once^M#endif /* expanded by -frewrite-includes */^M
We should figure this out.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs