klimek accepted this revision.
klimek added a comment.
This revision is now accepted and ready to land.

lg



================
Comment at: lib/Format/FormatTokenLexer.cpp:544-545
+    while (BackslashPos != StringRef::npos) {
+      if (BackslashPos + 1 < FormatTok->TokenText.size() &&
+          FormatTok->TokenText[BackslashPos + 1] == '\n') {
+        const char *Offset = Lex->getBufferLocation();
----------------
Just wondering whether the \n can be in the next token. Probably not, though, 
the way we set up the lexer.


https://reviews.llvm.org/D36159



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to