summaryrefslogtreecommitdiffstats
path: root/clang/docs/ClangFormatStyleOptions.rst
diff options
context:
space:
mode:
authorBirunthan Mohanathas <birunthan@mohanathas.com>2015-07-12 03:13:54 +0000
committerBirunthan Mohanathas <birunthan@mohanathas.com>2015-07-12 03:13:54 +0000
commit305fa9c2bfcd847171a1680a3b1b9ae69451ab26 (patch)
tree6ccdcfdde3d5b84f02929af94dce784ddab49c1b /clang/docs/ClangFormatStyleOptions.rst
parentcbf08925efc9047a6e457101d5ffdb36774c769d (diff)
downloadbcm5719-llvm-305fa9c2bfcd847171a1680a3b1b9ae69451ab26.tar.gz
bcm5719-llvm-305fa9c2bfcd847171a1680a3b1b9ae69451ab26.zip
clang-format: Add Mozilla brace breaking style
Differential Revision: http://reviews.llvm.org/D10883 llvm-svn: 241986
Diffstat (limited to 'clang/docs/ClangFormatStyleOptions.rst')
-rw-r--r--clang/docs/ClangFormatStyleOptions.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index e80cfd545b0..031daeeaa12 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -275,6 +275,9 @@ the configuration (without a prefix: ``Auto``).
* ``BS_Linux`` (in configuration: ``Linux``)
Like ``Attach``, but break before braces on function, namespace and
class definitions.
+ * ``BS_Mozilla`` (in configuration: ``Mozilla``)
+ Like ``Attach``, but break before braces on enum, function, and record
+ definitions.
* ``BS_Stroustrup`` (in configuration: ``Stroustrup``)
Like ``Attach``, but break before function definitions, and 'else'.
* ``BS_Allman`` (in configuration: ``Allman``)
OpenPOWER on IntegriCloud