]> granicus.if.org Git - clang/commit
[clang-format][docs][NFC] Fix example for Allman brace breaking style
authorJan Korous <jkorous@apple.com>
Tue, 5 Mar 2019 01:45:31 +0000 (01:45 +0000)
committerJan Korous <jkorous@apple.com>
Tue, 5 Mar 2019 01:45:31 +0000 (01:45 +0000)
commitf832213b09546159e9639739afbb5ddc0b55d330
treecc8af14e97597c46f001f8be08b80fc4afbe07ac
parent551f20daee260ebcbf8696f83d95109db50ec50a
[clang-format][docs][NFC] Fix example for Allman brace breaking style

I assume the example is wrong as it's clearly missing line-breaks before
braces.

I just ran the example through clang-format with .clang-format like
this:
BreakBeforeBraces: Allman

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355365 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ClangFormatStyleOptions.rst