summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-01-13 16:41:34 +0000
committerDaniel Jasper <djasper@google.com>2016-01-13 16:41:34 +0000
commitd04e5cafde02f82b0a86843a6cf04ca55f385c87 (patch)
treec54ba2f6e7c52d4c5894e20f90c87c468e51c2de /docs/conf.py
parent7f4541d0c68aec95561e631dc5956d9943b0fbeb (diff)
clang-format: [ObjC+JS] Allow bin-packing of array literals.
After reading the style guides again, they don't actually say how to pack or not pack array literals. Based on some user reports, array initializers can unnecessarily get quite long if they contain many small elements. Array literals with trailing commas are still formatted one per line so that users have a way to opt out of the packing. Before: var array = [ aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa ]; After: var array = [ aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa, aaaaaa ]; git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@257615 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions