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

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 26 11:09:19 PST 2016


mprobst updated this revision to Diff 49214.
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


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.49214.patch
Type: text/x-patch
Size: 10757 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160226/da42d938/attachment-0001.bin>


More information about the cfe-commits mailing list