krasimir added inline comments.
================ Comment at: lib/Format/FormatTokenLexer.cpp:386 String->HasUnescapedNewline = Macro->HasUnescapedNewline; + String->TMacroStringLiteral = true; ---------------- In the original code, TMacro detection was done as: ``` (Text.startswith(Prefix = "_T(\"") && Text.endswith(Postfix = "\")")) ``` In the new code the left part is saved in TMacroStringLiteral, and the right part is checked in ContinuationIndenter. Could you keep them together in `FormatTokenLexer`. @alexfh, why are we checking for the right check at all? What would be an example where this is needed to disambiguate? https://reviews.llvm.org/D44765 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits