diff options
| author | Daniel Jasper <djasper@google.com> | 2013-05-22 08:55:55 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-05-22 08:55:55 +0000 |
| commit | 24e19e4f96abd12f3f4b72b8a315b8ac257bc88f (patch) | |
| tree | 656479429ef7d57a233f924a5323996803cfbc03 /lib/CodeGen/CGExprAgg.cpp | |
| parent | 5ad72bb8eb8e5cc4c061ccd28632295213d319db (diff) | |
| download | clang-24e19e4f96abd12f3f4b72b8a315b8ac257bc88f.tar.gz clang-24e19e4f96abd12f3f4b72b8a315b8ac257bc88f.tar.bz2 clang-24e19e4f96abd12f3f4b72b8a315b8ac257bc88f.tar.xz | |
Fix function declaration behavior.
This only affects styles that prevent bin packing. There, a break after
a template declaration also forced a line break after the function name.
Before:
template <class SomeType, class SomeOtherType>
SomeType
SomeFunction(SomeType Type, SomeOtherType OtherType) {}
After:
template <class SomeType, class SomeOtherType>
SomeType SomeFunction(SomeType Type, SomeOtherType OtherType) {}
This fixes llvm.org/PR16072.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182457 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
