r297730 - Add more clang-format changes to the 5.0 release notes
Krasimir Georgiev via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 14 03:34:39 PDT 2017
Author: krasimir
Date: Tue Mar 14 05:34:39 2017
New Revision: 297730
URL: http://llvm.org/viewvc/llvm-project?rev=297730&view=rev
Log:
Add more clang-format changes to 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=297730&r1=297729&r2=297730&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.rst (original)
+++ cfe/trunk/docs/ReleaseNotes.rst Tue Mar 14 05:34:39 2017
@@ -143,15 +143,27 @@ clang-format
, public Y {
};
-* Align block comment decorations
+* Align block comment decorations.
.. code-block:: c++
- /* line 1
- * line 2
- */
+ /* line 1 /* line 1
+ * line 2 becomes: * line 2
+ */ */
-* The :doc:`ClangFormatStyleOptions` documentation provides detailled examples for most options.
+* The :doc:`ClangFormatStyleOptions` documentation provides detailed examples for most options.
+
+* Namespace end comments are now added or updated automatically.
+
+ .. code-block:: c++
+
+ namespace A { namespace A {
+ int i; int i;
+ int j; becomes: int j;
+ } } // namespace A
+
+* Comment reflow support added. Overly long comment lines will now be reflown with the rest of
+ the paragraph instead of just broken. Option **ReflowComments** added and enabled by default.
libclang
--------
More information about the cfe-commits
mailing list