[PATCH] D22431: clang-format: [JS] nested and tagged template strings.

Martin Probst via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 19 07:39:06 PDT 2016


mprobst updated this revision to Diff 68687.
mprobst added a comment.

- Use a stack to parse nested template strings.
- move docs
- Fold GreaterStashed, LessStashed into TOKEN_STASHED lexer state.


https://reviews.llvm.org/D22431

Files:
  lib/Format/FormatTokenLexer.cpp
  lib/Format/FormatTokenLexer.h
  lib/Format/TokenAnnotator.cpp
  unittests/Format/FormatTestJS.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22431.68687.patch
Type: text/x-patch
Size: 8501 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160819/ca3630ee/attachment.bin>


More information about the cfe-commits mailing list