ygao added a subscriber: ygao. ================ Comment at: lib/Format/FormatTokenLexer.cpp:245 @@ -241,1 +244,3 @@ ++Offset; // Skip the escaped character. + if (Offset + 1 < Lex->getBuffer().end() && *Offset == '$' && + *(Offset + 1) == '{') { ---------------- What happens if the '${' is immediately after a backslash (the if statement above), should the '${' get escaped?
https://reviews.llvm.org/D23761 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits