]> granicus.if.org Git - clang/commit
clang-format: Fix ObjC literal indentation in Google style.
authorDaniel Jasper <djasper@google.com>
Tue, 22 Oct 2013 15:45:58 +0000 (15:45 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 22 Oct 2013 15:45:58 +0000 (15:45 +0000)
commitc96894305223479789b990522b2877e766979f17
tree65bcc6339d5ed8bb25585ef7c50206dd901633cf
parenta07aa665a12ab23bef7aa4aedfe113dd8b13da57
clang-format: Fix ObjC literal indentation in Google style.

Style guide demands a two-space indent.

Before:
  NSArray *arguments = @[
      kind == kUserTicket ? @"--user-store" : @"--system-store",
      @"--print-tickets",
      @"--productid",
      @"com.google.Chrome"
  ];

After:
  NSArray *arguments = @[
    kind == kUserTicket ? @"--user-store" : @"--system-store",
    @"--print-tickets",
    @"--productid",
    @"com.google.Chrome"
  ];

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193168 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/ContinuationIndenter.cpp
lib/Format/FormatToken.h
unittests/Format/FormatTest.cpp