diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2017-03-14 10:34:39 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2017-03-14 10:34:39 +0000 |
| commit | 18f4aedae8061ccecbd4e8e31ee9895b47770082 (patch) | |
| tree | 4bcf265a652d037b69ddedaee516f4805ec82935 | |
| parent | babcbddae069d31f7251e8d79727fb3c127846bc (diff) | |
| download | bcm5719-llvm-18f4aedae8061ccecbd4e8e31ee9895b47770082.tar.gz bcm5719-llvm-18f4aedae8061ccecbd4e8e31ee9895b47770082.zip | |
Add more clang-format changes to the 5.0 release notes
llvm-svn: 297730
| -rw-r--r-- | clang/docs/ReleaseNotes.rst | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index af7aa5e91e5..61a0e7ef4a3 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -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 -------- |

