]> granicus.if.org Git - clang/commit
[clang-format] Add a new flag FixNamespaceComments to FormatStyle
authorKrasimir Georgiev <krasimir@google.com>
Wed, 1 Mar 2017 15:35:39 +0000 (15:35 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Wed, 1 Mar 2017 15:35:39 +0000 (15:35 +0000)
commit54958796ccbda2378525a0c66b3da149359ecc6e
treeed3e26b8972d8007bf2ceae4d21e19f4ea725fb7
parent912f198bafdc43d6a4229461eb4ff031a5d940c5
[clang-format] Add a new flag FixNamespaceComments to FormatStyle

Summary:
This patch enables namespace end comments under a new flag FixNamespaceComments,
which is enabled for the LLVM and Google styles.

Reviewers: djasper

Reviewed By: djasper

Subscribers: cfe-commits, klimek

Differential Revision: https://reviews.llvm.org/D30405

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@296632 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangFormatStyleOptions.rst
include/clang/Format/Format.h
lib/Format/Format.cpp
lib/Index/CommentToXML.cpp
unittests/Format/FormatTest.cpp