aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.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
commit33b909c5f37642840be684044e8a29dc772ae71c (patch)
tree99abea28569dc931753fc1bfc77fd82e1e3949eb /clang/lib/Frontend/CompilerInvocation.cpp
parent2acb2470f977ceb192b575d62f235d2b6a4f8ceb (diff)
downloadllvm-33b909c5f37642840be684044e8a29dc772ae71c.zip
llvm-33b909c5f37642840be684044e8a29dc772ae71c.tar.gz
llvm-33b909c5f37642840be684044e8a29dc772ae71c.tar.bz2
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. llvm-svn: 193410
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions