describe the recent changes in clang-format in the 5.0 release notes

llvm-svn: 297721
This commit is contained in:
Sylvestre Ledru 2017-03-14 09:43:55 +00:00
parent e21c3af7e9
commit 72e3fa7e2c
1 changed files with 25 additions and 0 deletions

View File

@ -128,6 +128,31 @@ AST Matchers
...
clang-format
------------
* Option **BreakBeforeInheritanceComma** added to break before ``:`` and ``,`` in case of
multiple inheritance in a class declaration. Enabled by default in the Mozilla coding style.
.. code-block:: c++
true: false:
class MyClass vs. class MyClass : public X, public Y {
: public X };
, public Y {
};
* Align block comment decorations
.. code-block:: c++
/* line 1
* line 2
*/
* The :doc:`ClangFormatStyleOptions` documentation provides detailled examples for most options.
libclang
--------