]> granicus.if.org Git - clang/commit
Prefer splitting after "template <...>" and fix indentation.
authorDaniel Jasper <djasper@google.com>
Wed, 2 Jan 2013 15:08:56 +0000 (15:08 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 2 Jan 2013 15:08:56 +0000 (15:08 +0000)
commit9a64fb5690ba2b53c761def068e20ec64c584d96
tree4e473fceb6c223efd9f26835646d769093246e3b
parent723f0304eaaf1aed20aece9021a1bb8578477e75
Prefer splitting after "template <...>" and fix indentation.

This addresses llvm.org/PR14699

Before:
template <typename T>
    void looooooooooooooooooooooongFunction(int Param1, int Param2);
template <typename T> void looooooooooooooooooooongFunction(
    int Paaaaaaaaaaaaaaaaaaaaram1, int Paaaaaaaaaaaaaaaaaaaaram2);

After:
template <typename T>
void looooooooooooooooooooooongFunction(int Param1, int Param2);
template <typename T>
void looooooooooooooooooooongFunction(int Paaaaaaaaaaaaaaaaaaaaram1,
                                      int Paaaaaaaaaaaaaaaaaaaaram2);

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171388 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
test/Index/comment-to-html-xml-conversion.cpp
unittests/Format/FormatTest.cpp