[PATCH] D26909: [ClangFormat] Do not insert #include into code after #include block in the beginning of the file.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 21 04:53:34 PST 2016
ioeric created this revision.
ioeric added a reviewer: djasper.
ioeric added a subscriber: cfe-commits.
Herald added a subscriber: klimek.
This avoid inserting/deleting #include into/from:
- raw string literals containing #include.
- #if block.
- Special #include among declarations (e.g. functions).
https://reviews.llvm.org/D26909
Files:
lib/Format/Format.cpp
unittests/Format/CleanupTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26909.78703.patch
Type: text/x-patch
Size: 8432 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161121/fba3aa06/attachment.bin>
More information about the cfe-commits
mailing list