forked from OSchip/llvm-project
0ddd57a17b
We now decide whether a newline should go before the closing brace depending on whether a newline was inserted after the opening brace. For example, we now insert a newline before '};' in: static SomeClass WithALoooooooooooooooooooongName = { 100000000, \"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\" }; ... while not inserting a newline here: static SomeClass = { a, b, c, d, e, f, g, h, i, j, looooooooooooooooooooooooooooooooooongname, looooooooooooooooooooooooooooooong }; Also fixes the formating of (column limit 25): int x = { avariable, b(alongervariable) }; llvm-svn: 172076 |
||
---|---|---|
.. | ||
AST | ||
ASTMatchers | ||
Basic | ||
Format | ||
Frontend | ||
Lex | ||
Tooling | ||
CMakeLists.txt | ||
Makefile |