summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2013-09-08 14:07:57 +0000
committerDaniel Jasper <djasper@google.com>2013-09-08 14:07:57 +0000
commit14e25c0477bf9f51e980fdc23b7f0bff800f3ae7 (patch)
tree99826e1665cdfa0fcde0d74c77c97394b4c837fc /lib/CodeGen/CGExpr.cpp
parentc23b1db6268c8e7ce64026d57d1510c1aac200a0 (diff)
downloadclang-14e25c0477bf9f51e980fdc23b7f0bff800f3ae7.tar.gz
clang-14e25c0477bf9f51e980fdc23b7f0bff800f3ae7.tar.bz2
clang-14e25c0477bf9f51e980fdc23b7f0bff800f3ae7.tar.xz
clang-format: Keep empty lines and format 1-line nested blocks.
Let clang-format consistently keep up to one empty line (configured via FormatStyle::MaxEmptyLinesToKeep) in nested blocks, e.g. lambdas. Also, actually format single statements in nested blocks. Before: DEBUG({ int i; }); DEBUG({ int i; // an empty line here would just be removed. int j; }); After: DEBUG({ int i; }); DEBUG({ int i; int j; }); git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@190278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions