]> granicus.if.org Git - clang/commit
clang-format: Improve nested block formatting.
authorDaniel Jasper <djasper@google.com>
Tue, 7 Apr 2015 08:20:35 +0000 (08:20 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 7 Apr 2015 08:20:35 +0000 (08:20 +0000)
commitcd779b6b50af1b2192f3c99370955c53dbfa09ab
tree097603989739a5202cf899665a05d75a24886a42
parent9cd825068909c28092df9d563e944c42dc4c6ee7
clang-format: Improve nested block formatting.

Before:
  functionA(functionB({
    int i;
    int j;
  }),
            aaaa, bbbb, cccc);

After:
  functionA(functionB({
              int i;
              int j;
            }),
            aaaa, bbbb, cccc);

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