aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2013-02-10 20:48:24 +0000
committerNico Weber <nicolasweber@gmx.de>2013-02-10 20:48:24 +0000
commit0ac717b2a5ba15233ed25edc5310c64d441669b1 (patch)
tree75737cd55b5d6345f9a3f69f64cfc228d045ea63 /lib/CodeGen/CodeGenFunction.cpp
parente62620021c734140de6f3d3fe81a66c3ee578e93 (diff)
Formatter: Add a test for multi-line ObjC dict literals.
As it turns out, this already works reasonably well. This example from http://clang.llvm.org/docs/ObjectiveCLiterals.html NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"processInfo" : [NSProcessInfo processInfo] }; is formatted like NSDictionary *dictionary = @{ @"name" : NSUserName(), @"date" : [NSDate date], @"processInfo" : [NSProcessInfo processInfo] }; There's already a FIXME in NestedStaticInitializers about supporting one initializer per line, which is really all that's missing here too. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@174842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions