clang-format: Fix indentation of struct definitions with array init.
authorDaniel Jasper <djasper@google.com>
Mon, 20 Oct 2014 11:12:51 +0000 (11:12 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 20 Oct 2014 11:12:51 +0000 (11:12 +0000)
commit86296e36d70c585c0e8a905da1d3546c51d1a121
tree6d366ebde3521d2cfbc7444b7aaba7ae0507cbce
parentfce039240a4984a0f10b19126fd9a883ec092447
clang-format: Fix indentation of struct definitions with array init.

Before:
  struct {
    int x;
    int y;
  } points[] = {
        {1, 2}, {2, 3},
  };

After:
  struct {
    int x;
    int y;
  } points[] = {
      {1, 2}, {2, 3},
  };

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