]> granicus.if.org Git - clang/commit
Break the class-inheritance ":" to the new line.
authorDaniel Jasper <djasper@google.com>
Mon, 6 May 2013 06:45:09 +0000 (06:45 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 6 May 2013 06:45:09 +0000 (06:45 +0000)
commitc194c95036b7bf1281a6f2ed683f7c85ee5d2c20
tree62afb62e0e21f88c1d45ed6f6622885207ad0bfc
parentf022018698ced7e538b338d4f7befef9f81051ea
Break the class-inheritance ":" to the new line.

This seems to be more common in LLVM, Google and Chromium.

Before:
class AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA :
    public BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
    public CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC {
};

After:
class AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
    : public BBBBBBBBBBBBBBBBBBBBBBBBBBBBBB,
      public CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC {
};

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