clang-format: Keep '{' of dict literals on the same line in Allman style
authorDaniel Jasper <djasper@google.com>
Mon, 26 May 2014 07:24:34 +0000 (07:24 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 26 May 2014 07:24:34 +0000 (07:24 +0000)
commitba1b6bb667df50c54d903b815e5ba26118231d27
tree66b1bf28f1cca1482a65d7b7d0c0450249ae4aa3
parent10743a9e6d585b0b08ca01b55d99e9c7513f769c
clang-format: Keep '{' of dict literals on the same line in Allman style

Before:
  void f()
  {
    [object
        someMethod:@
        { @"a" : @"b" }];
  }

After:
  void f()
  {
    [object someMethod:@{ @"a" : @"b" }];
  }

This fixes llvm.org/PR19854.

llvm-svn: 209615
clang/lib/Format/TokenAnnotator.cpp
clang/unittests/Format/FormatTest.cpp