[PATCH] D20898: [clang-format] skip empty lines and comments in the top of the code when inserting new headers.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 3 01:37:30 PDT 2016
ioeric updated this revision to Diff 59497.
ioeric added a comment.
- Use FormatTokenLexer to skip comments.
http://reviews.llvm.org/D20898
Files:
lib/Format/Format.cpp
unittests/Format/CleanupTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20898.59497.patch
Type: text/x-patch
Size: 9024 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160603/0d5f7b99/attachment.bin>
More information about the cfe-commits
mailing list