diff options
| author | Daniel Jasper <djasper@google.com> | 2013-11-28 15:58:55 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-11-28 15:58:55 +0000 |
| commit | 4f6f1f82e1f5709ae6d51d5c68b9cf0ef9855e16 (patch) | |
| tree | 1f5d74d21dc04170e4f95d8a3c74c259749de608 /lib/CodeGen/CGExprComplex.cpp | |
| parent | cc62d5d90ad591a3e8aeaa00a672702aa56f9584 (diff) | |
| download | clang-4f6f1f82e1f5709ae6d51d5c68b9cf0ef9855e16.tar.gz clang-4f6f1f82e1f5709ae6d51d5c68b9cf0ef9855e16.tar.bz2 clang-4f6f1f82e1f5709ae6d51d5c68b9cf0ef9855e16.tar.xz | |
clang-format: Improve selective formatting of nested statements.
Previously, clang-format could create quite corrupt formattings if
individual lines of nested blocks (e.g. in "DEBUG({})" or lambdas) were
used. With this patch, it tries to extend the formatted regions to leave
around some reasonable format without always formatting the entire
surrounding statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195925 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprComplex.cpp')
0 files changed, 0 insertions, 0 deletions
