[LLVMbugs] [Bug 17389] New: on windows, raw string literals should convert \r\n to \n
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Sep 27 09:01:29 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17389
Bug ID: 17389
Summary: on windows, raw string literals should convert \r\n to
\n
Product: clang
Version: trunk
Hardware: PC
OS: Windows XP
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: unassignedclangbugs at nondot.org
Reporter: richard-llvm at metafoo.co.uk
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Per core issue 1655:
const char str[] = R"(^M
)";
static_assert(str[0] == '\n' && str[1] == 0, "");
The static assert should not fire on platforms where we treat \r\n as the
end-of-line indicator.
--
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/20130927/57b1623f/attachment.html>
More information about the llvm-bugs
mailing list