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 | 73a2fdf232711cc013c6fab2be560eaa4acb4034 (patch) | |
tree | 8285ceb5035bef2973209b9783204678f9cc08e3 /clang/lib/Format/UnwrappedLineParser.cpp | |
parent | fdcfbda75046c25d451e3beaab5cd5c1aae2b637 (diff) | |
download | bcm5719-llvm-73a2fdf232711cc013c6fab2be560eaa4acb4034.tar.gz bcm5719-llvm-73a2fdf232711cc013c6fab2be560eaa4acb4034.zip |
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.
llvm-svn: 172070
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions