diff options
| author | Daniel Jasper <djasper@google.com> | 2013-10-25 14:29:37 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-10-25 14:29:37 +0000 |
| commit | 33b909c5f37642840be684044e8a29dc772ae71c (patch) | |
| tree | 99abea28569dc931753fc1bfc77fd82e1e3949eb /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | 2acb2470f977ceb192b575d62f235d2b6a4f8ceb (diff) | |
| download | bcm5719-llvm-33b909c5f37642840be684044e8a29dc772ae71c.tar.gz bcm5719-llvm-33b909c5f37642840be684044e8a29dc772ae71c.zip | |
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

