]> granicus.if.org Git - clang/commitdiff
Add more clang-format changes to the 5.0 release notes
authorKrasimir Georgiev <krasimir@google.com>
Tue, 14 Mar 2017 10:34:39 +0000 (10:34 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Tue, 14 Mar 2017 10:34:39 +0000 (10:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@297730 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ReleaseNotes.rst

index af7aa5e91e54e0287b9972da9175bb66b597918f..61a0e7ef4a35bb21cf92983c403f96acb44e4dd7 100644 (file)
@@ -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
 --------