summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2013-01-10 14:36:46 +0000
committerManuel Klimek <klimek@google.com>2013-01-10 14:36:46 +0000
commit73a2fdf232711cc013c6fab2be560eaa4acb4034 (patch)
tree8285ceb5035bef2973209b9783204678f9cc08e3 /clang/lib/Format/UnwrappedLineParser.cpp
parentfdcfbda75046c25d451e3beaab5cd5c1aae2b637 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud