diff options
| author | Daniel Jasper <djasper@google.com> | 2014-05-28 09:11:53 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2014-05-28 09:11:53 +0000 |
| commit | d519dc975cf544718d9a46a63ec57cc7727cada2 (patch) | |
| tree | 4e9da2ff339910d9033d101fa10fae942f0f6494 /lib/CodeGen/CGExpr.cpp | |
| parent | 9e6a299419ec5b0a4b08ae13d2c4b1170293222b (diff) | |
| download | clang-d519dc975cf544718d9a46a63ec57cc7727cada2.tar.gz clang-d519dc975cf544718d9a46a63ec57cc7727cada2.tar.bz2 clang-d519dc975cf544718d9a46a63ec57cc7727cada2.tar.xz | |
clang-format: Format array and dict literals similar to blocks.
Especially, reduce the amount of indentation if it doesn't increase
readability.
Before:
NSMutableDictionary* dictionary = [NSMutableDictionary
dictionaryWithDictionary:@{
aaaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaa,
bbbbbbbbbbbbbbbbbb : bbbbb,
cccccccccccccccc : ccccccccccccccc
}];
After:
NSMutableDictionary* dictionary =
[NSMutableDictionary dictionaryWithDictionary:@{
aaaaaaaaaaaaaaaaaaaaa : aaaaaaaaaaaaa,
bbbbbbbbbbbbbbbbbb : bbbbb,
cccccccccccccccc : ccccccccccccccc
}];
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209720 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
