[PATCH] D21273: clang-format: [JS] Introduce WrapJavaScriptImports option.
Martin Probst via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 13 08:24:33 PDT 2016
mprobst updated this revision to Diff 60532.
mprobst added a comment.
- classify as LT_ImportStatement, re-enable wrapping later
- no early exist in TokenAnnotator: while loop is required for consumeToken().
http://reviews.llvm.org/D21273
Files:
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineFormatter.cpp
unittests/Format/FormatTestJS.cpp
unittests/Format/SortImportsTestJS.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21273.60532.patch
Type: text/x-patch
Size: 9014 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160613/57465d9a/attachment.bin>
More information about the cfe-commits
mailing list