diff options
author | Manuel Klimek <klimek@google.com> | 2013-01-10 14:36:46 +0000 |
---|---|---|
committer | Manuel Klimek <klimek@google.com> | 2013-01-10 14:36:46 +0000 |
commit | 2851c16443dcdb9d8bb509d321fb827a560b47bc (patch) | |
tree | bb45e9583ce8cc7f41f72a5704200700e394842d /lib/Format/UnwrappedLineParser.cpp | |
parent | 36fab8d70eee342d66e03c9b09c029f126196103 (diff) |
Fixes formatting of function calls etc inside an initializer list.
We're now formatting (column limit 25):
int x = {
avariable,
b(alongervariable) };
This also fixes:
Aaa({
int i;
}, aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
ccccccccccccccccc));
... where we would previously break after the '},'.
Putting the closing curly into an extra line when there's a break
directly after the first curly will be done in a subsequent patch.
Paired with djasper.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions