Author: sylvestre Date: Tue Mar 14 04:43:55 2017 New Revision: 297721 URL: http://llvm.org/viewvc/llvm-project?rev=297721&view=rev Log: describe the recent changes in clang-format in the 5.0 release notes
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=297721&r1=297720&r2=297721&view=diff ============================================================================== --- cfe/trunk/docs/ReleaseNotes.rst (original) +++ cfe/trunk/docs/ReleaseNotes.rst Tue Mar 14 04:43:55 2017 @@ -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 -------- _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits