summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-10-25 14:29:37 +0000
committerDaniel Jasper <djasper@google.com>2013-10-25 14:29:37 +0000
commit47066e46b9ce4f830ead3c7b9a4cb5bf0ac2c857 (patch)
treee28949cdc69eb4a64d722e789b1ec54131eb94c6 /lib/CodeGen/CodeGenFunction.cpp
parent9d33c40838367ffcc3206a7120a0ce32922b66d8 (diff)
downloadclang-47066e46b9ce4f830ead3c7b9a4cb5bf0ac2c857.tar.gz
clang-47066e46b9ce4f830ead3c7b9a4cb5bf0ac2c857.tar.bz2
clang-47066e46b9ce4f830ead3c7b9a4cb5bf0ac2c857.tar.xz
clang-format: Adapt line break penalties for LLVM style.
Specifically make clang-format less eager to break after the opening parenthesis of a function call. Before: aaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa + aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa); Apparently that is preferable. This penalties are adapted conservatively, we might have to increase them a little bit further. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions