]> granicus.if.org Git - clang/commit
clang-format: Improve indentation when deriving from templated classes.
authorDaniel Jasper <djasper@google.com>
Tue, 8 Oct 2013 16:24:07 +0000 (16:24 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 8 Oct 2013 16:24:07 +0000 (16:24 +0000)
commitcea014bd8d280070caeb27e4e6e33e5723b4226f
treec9c0f68ffc7bcfa2d7f04ba7af15ffbe5d814954
parentf7d9e63858138134953e713f948b20a8b8c9a872
clang-format: Improve indentation when deriving from templated classes.

Before:
  struct aaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa< //
      aaaaaaaaaaaaaaaa> {};
  struct aaaaaaaaaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa<
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa> {};

After:
  struct aaaaaaaaaaaaa : public aaaaaaaaaaaaaaaaaaa< //
                             aaaaaaaaaaaaaaaa> {};
  struct aaaaaaaaaaaaaaaaaaaa
      : public aaaaaaaaaaaaaaaaaaa<aaaaaaaaaaaaaaaaaaaaa,
                                   aaaaaaaaaaaaaaaaaaaaaa> {};

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