clang-format: Don't break after very short return types.
authorDaniel Jasper <djasper@google.com>
Mon, 27 Oct 2014 17:13:59 +0000 (17:13 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 27 Oct 2014 17:13:59 +0000 (17:13 +0000)
commite068ac77a223588faf7d80b36e516a656d9b52f6
treedca3f80760afef6d7d22cf07f5ee6483364fdfa8
parent1f060a85526ac08fd23b46968fd97f75a2930030
clang-format: Don't break after very short return types.

Before:
  void
  SomeFunction(int parameter);

After:
  void SomeFunction(
      int parameter);

(Unless AlwaysBreakAfterDefinitionReturnType after type is set).

llvm-svn: 220686
clang/lib/Format/ContinuationIndenter.cpp
clang/unittests/Format/FormatTest.cpp