================
@@ -2270,9 +2270,11 @@ bool Lexer::LexRawStringLiteral(Token &Result, const
char *CurPtr,
const char *PrefixEnd = &CurPtr[PrefixLen];
if (PrefixLen == 16) {
Diag(PrefixEnd, diag::err_raw_delim_too_long);
- } else {
+ } else if (*PrefixEnd != '\n') {
----------------
jroelofs wrote:
hmmm. what happens if the line ends with `\r\n`?
https://github.com/llvm/llvm-project/pull/81670
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits