mprobst marked an inline comment as done.

================
Comment at: lib/Format/Format.cpp:1579
@@ +1578,3 @@
+  // The width of the extra \ escapes is taken into account in getNextToken.
+  void requoteJSStringLiterals(tooling::Replacements &Replaces,
+                               FormatToken *Current) {
----------------
djasper wrote:
> What's the reason not to do this in FormatTokenLexer, ideally at the same 
> time when increasing the length?
Done. I initially wanted to avoid having FormatTokenLexer generate 
Replacements, but this seems cleaner indeed.


http://reviews.llvm.org/D17385



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

Reply via email to