[PATCH] D17385: clang-format: [JS] re-quote single or double quoted strings.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 1 16:05:25 PST 2016


mprobst updated this revision to Diff 49562.
mprobst marked 6 inline comments as done.
mprobst added a comment.

- Move code closer together by piping Replacements into the FormatTokenLexer.
- remove sstream import
- * Treat JavaScript single quoted string literals as tok::string_literal, not
- Address review comments, mostly renaming things.


http://reviews.llvm.org/D17385

Files:
  include/clang/Format/Format.h
  lib/Format/Format.cpp
  unittests/Format/FormatTest.cpp
  unittests/Format/FormatTestJS.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17385.49562.patch
Type: text/x-patch
Size: 11009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160302/0e3591e1/attachment.bin>


More information about the cfe-commits mailing list