================
@@ -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') {
----------------
akshaykumars614 wrote:

ummm... still the file will end with \n right?


https://github.com/llvm/llvm-project/pull/81670
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to