[PATCH] D40288: [clang-format] Add option to group multiple #include blocks when sorting includes
Krzysztof Kapusta via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 21 01:42:27 PST 2017
KrzysztofKapusta created this revision.
KrzysztofKapusta added a project: clang-tools-extra.
Herald added a subscriber: klimek.
This patch allows grouping multiple #include blocks together and sort all includes as one big block.
Additionally, sorted includes can be regrouped after sorting based on configured categories.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D40288
Files:
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
unittests/Format/SortIncludesTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D40288.123735.patch
Type: text/x-patch
Size: 14640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171121/83836344/attachment-0001.bin>
More information about the cfe-commits
mailing list