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 | 5c33265c9e85bb9ce7d37be40c6ac870be720c5f (patch) | |
tree | 0f8a42c4927cf9835f87ee1b4af7899315344b52 /clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp | |
parent | 2b7556ec1632eb587c9dc7a7d40a4eae8703083a (diff) | |
download | bcm5719-llvm-5c33265c9e85bb9ce7d37be40c6ac870be720c5f.tar.gz bcm5719-llvm-5c33265c9e85bb9ce7d37be40c6ac870be720c5f.zip |
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.
llvm-svn: 205527
Diffstat (limited to 'clang/unittests/ASTMatchers/Dynamic/VariantValueTest.cpp')
0 files changed, 0 insertions, 0 deletions