summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2017-12-05 09:23:47 +0000
committerSylvestre Ledru <sylvestre@debian.org>2017-12-05 09:23:47 +0000
commit13391081b0b149da4168377ceb1b4af083407d3b (patch)
tree27841b9873251ca3e010ba243ba4878f0fcf8ba4 /docs
parent148bf27107ea5444fdd3fc4d9e4b086e7b213665 (diff)
[clang-format] Releasenotes for rL319024 : Add option to group multiple #include blocks when sorting includes
Summary: This change adds missing releasenotes for commit rL319024 https://reviews.llvm.org/rL319024 Patch by Krzysztof Kapusta Reviewers: sylvestre.ledru Reviewed By: sylvestre.ledru Differential Revision: https://reviews.llvm.org/D40827 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@319748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ReleaseNotes.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst
index 71e330bcb3..8b562bb66e 100644
--- a/docs/ReleaseNotes.rst
+++ b/docs/ReleaseNotes.rst
@@ -248,6 +248,19 @@ clang-format
* Option -verbose added to the command line.
Shows the list of processed files.
+* Option *IncludeBlocks* added to merge and regroup multiple ``#include`` blocks during sorting.
+
+ +-------------------------+-------------------------+-------------------------+
+ | Before (Preserve) | Merge | Regroup |
+ +=========================+=========================+=========================+
+ | .. code-block:: c++ | .. code-block:: c++ | .. code-block:: c++ |
+ | | | |
+ | #include "b.h" | #include "a.h" | #include "a.h" |
+ | | #include "b.h" | #include "b.h" |
+ | #include "a.b" | #include <lib/main.h> | |
+ | #include <lib/main.h> | | #include <lib/main.h> |
+ +-------------------------+-------------------------+-------------------------+
+
libclang
--------