llvm-project/clang/lib
Daniel Jasper 8a8ce2406a Several improvements to the formatting of static initializers.
1. Never avoid bin packing in static initializers as this can
   lead to terrible results.
2. If an element has to be broken over multiple lines, break after
   the following comma.

This should be a step forward, but there are still many cases
especially with nested static initializers that we handle badly.
More patches will follow.

llvm-svn: 174061
2013-01-31 14:59:26 +00:00
..
ARCMigrate Re-sort all the headers. Lots of regressions have crept in here. 2013-01-19 08:09:44 +00:00
AST Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
ASTMatchers Remove useless 'llvm::' qualifier from names like StringRef and others that are 2013-01-12 19:30:44 +00:00
Analysis -Wuninitialized: warn about uninitialized values resulting from ?: that evaluate to lvalues (in C++). 2013-01-19 00:25:06 +00:00
Basic Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
CodeGen Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
Driver Add support for AArch64 target. 2013-01-31 12:13:10 +00:00
Edit Implement OpenCL event_t as Clang builtin type, including event_t related OpenCL restrictions (OpenCL 1.2 spec 6.9) 2013-01-20 12:31:11 +00:00
Format Several improvements to the formatting of static initializers. 2013-01-31 14:59:26 +00:00
Frontend Diagnostics: Clarify name of line-length-limiting constant in r173976. 2013-01-30 22:14:15 +00:00
FrontendTool use early returns to simplify and de-nest 2013-01-06 07:49:41 +00:00
Headers C11: Provide the missing half of <stdalign.h> 2013-01-30 06:33:54 +00:00
Lex Reinstate r173952, this time limiting it to exactly the form 2013-01-30 23:10:17 +00:00
Parse Provide a fixit for constexpr non-static data members. 2013-01-30 01:22:18 +00:00
Rewrite Rework the traversal of Objective-C categories and extensions to 2013-01-16 23:00:23 +00:00
Sema Added outer template parameter lists to friend type AST nodes. 2013-01-31 09:54:08 +00:00
Serialization Added outer template parameter lists to friend type AST nodes. 2013-01-31 09:54:08 +00:00
StaticAnalyzer [analyzer] If a lazy binding is undefined, pretend that it's unknown instead. 2013-01-31 02:57:06 +00:00
Tooling Nuke SetUpBuildDumpLog. 2013-01-20 01:58:28 +00:00
CMakeLists.txt Initial version of formatting library. 2012-12-03 18:12:45 +00:00
Makefile Dont use/link ARCMT, StaticAnalyzer and Rewriter to clang when the user 2012-12-13 16:09:42 +00:00