[PATCH] D40178: clang-format: [JS] remove trailing lines in arrow functions.
Martin Probst via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 17 09:59:07 PST 2017
mprobst updated this revision to Diff 123371.
mprobst added a comment.
- prefer !x.empty() over .size() > 0.
https://reviews.llvm.org/D40178
Files:
lib/Format/ContinuationIndenter.cpp
lib/Format/UnwrappedLineFormatter.cpp
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestJS.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40178.123371.patch
Type: text/x-patch
Size: 4345 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171117/3c316328/attachment.bin>
More information about the cfe-commits
mailing list