diff options
| author | Daniel Jasper <djasper@google.com> | 2014-04-03 12:00:33 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2014-04-03 12:00:33 +0000 |
| commit | 0e8e53bc16e589b64f9263c0fb8d574f28b64260 (patch) | |
| tree | 4a8a21d069641479acf6df74486cdbd4a732228e /lib/CodeGen/CodeGenFunction.cpp | |
| parent | d28a215437031f02229547fc224bc117bddcd4c0 (diff) | |
| download | clang-0e8e53bc16e589b64f9263c0fb8d574f28b64260.tar.gz clang-0e8e53bc16e589b64f9263c0fb8d574f28b64260.tar.bz2 clang-0e8e53bc16e589b64f9263c0fb8d574f28b64260.tar.xz | |
clang-format: Prefer an additional line-break over hanging indent.
Don't allow the RHS of an operator to be split over multiple
lines unless there is a line-break right after the operator.
Before:
if (aaaa && bbbbb || // break
cccc) {
}
After:
if (aaaa &&
bbbbb || // break
cccc) {
}
In most cases, this seems to increase readability.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
