clang-format: Fix return type line break decision.
authorDaniel Jasper <djasper@google.com>
Mon, 19 Aug 2013 10:16:18 +0000 (10:16 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 19 Aug 2013 10:16:18 +0000 (10:16 +0000)
commit5364306e124d020583aef3616dd5eeba0382b444
tree04bcf4a5848bd95554fcf160150185ea91a1bc1e
parent7d1db15ae14f093216b17877127016db9b04b5c0
clang-format: Fix return type line break decision.

This accidentally introduced by r186077, as function names were not
correctly recognized in templated declarations.

Before:
  template <class TemplateIt>
  SomeReturnType
  SomeFunction(TemplateIt begin, TemplateIt end, TemplateIt* stop) {}

After:
  template <class TemplateIt>
  SomeReturnType SomeFunction(TemplateIt begin, TemplateIt end,
                              TemplateIt* stop) {}

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