diff options
author | Daniel Jasper <djasper@google.com> | 2017-04-24 14:28:49 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2017-04-24 14:28:49 +0000 |
commit | 089f73f85954be374f688d2ba2964df95652a4e7 (patch) | |
tree | a576c14f58f9aeb855ef23b91645917db868a11a /lib/Index | |
parent | 6d3ec86383860d5c48a026ae32b2d5483585b920 (diff) |
clang-format: Fix bad corner case in formatting of function types.
Before:
std::function<
LoooooooooooongTemplatedType<SomeType>*(
LooooooooooooooooooooongType
type)>
function;
After:
std::function<
LoooooooooooongTemplatedType<
SomeType>*(
LooooooooooooooooongType type)>
function;
clang-format generally avoids having lines like "SomeType>*(" as they
lead to parameter lists that don't belong together to be aligned. However, in
case it is better than the alternative, which can even be violating the column
limit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301182 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index')
0 files changed, 0 insertions, 0 deletions