aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-05-08 13:51:14 +0000
committerDaniel Jasper <djasper@google.com>2015-05-08 13:51:14 +0000
commite4c16c7ce354e260775f8dbf62f1aa58e49916ab (patch)
tree814fc1d91d24de69c002e96a33982337ebbd5e83 /clang/lib/CodeGen/CodeGenModule.cpp
parent284e7b3d6c5a285fc826aa4c51b5ae0f03282c5c (diff)
downloadllvm-e4c16c7ce354e260775f8dbf62f1aa58e49916ab.zip
llvm-e4c16c7ce354e260775f8dbf62f1aa58e49916ab.tar.gz
llvm-e4c16c7ce354e260775f8dbf62f1aa58e49916ab.tar.bz2
clang-format: Several improvements around formatting braced lists.
In particular: * If the difference between the longest and shortest element, we copped out of column format completely. Now, we instead allow to arrange these in a single column, essentially enforcing a one-per-line format. * Allow column layout even if there are braced lists. Especially, if there are many short lists, this can be beneficial. The bad case, where there is a long nested init list is usually caught as we now limit the length difference of the longest and shortest element. llvm-svn: 236851
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions