Author: sylvestre Date: Tue Dec 5 01:23:47 2017 New Revision: 319748 URL: http://llvm.org/viewvc/llvm-project?rev=319748&view=rev Log: [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 Modified: cfe/trunk/docs/ReleaseNotes.rst Modified: cfe/trunk/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.rst?rev=319748&r1=319747&r2=319748&view=diff ============================================================================== --- cfe/trunk/docs/ReleaseNotes.rst (original) +++ cfe/trunk/docs/ReleaseNotes.rst Tue Dec 5 01:23:47 2017 @@ -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 -------- _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits