Go to file
Daniel Jasper 2af6bbe7e0 Better support for constructor initializers.
We used to format initializers like this (with a sort of hacky implementation):
Constructor()
    : Val1(A),
      Val2(B) {

and now format like this (with a somewhat better solution):
Constructor()
    : Val1(A), Val2(B) {

assuming this would not fit on a single line. Also added tests.

As a side effect we now first analyze whether an UnwrappedLine needs to be
split at all. If not, not splitting it is the best solution by definition. As
this should be a very common case in normal code, not exploring the entire
solution space can provide significant speedup.

llvm-svn: 170457
2012-12-18 21:05:13 +00:00
clang Better support for constructor initializers. 2012-12-18 21:05:13 +00:00
clang-tools-extra Use renamed CommonOptionsParser member functions 2012-12-14 18:59:24 +00:00
compiler-rt [sanitizer] fix LargeMmapAllocator::GetBlockBegin 2012-12-18 14:56:38 +00:00
debuginfo-tests XTARGET was removed, update debug-info tests. 2012-10-20 01:38:50 +00:00
libclc Fix build against recent versions of Clang. Based on patch by Alastair Donaldson! 2012-12-05 07:39:02 +00:00
libcxx Added static_assert to std::get<N>(std::array) calls to catch "out of bounds" calls 2012-12-18 16:46:30 +00:00
libcxxabi Rename class __lambda_node to ___lambda_node to fix compile failure with gcc 4.6 and 4.7 2012-12-05 18:55:49 +00:00
lld [CMake] Fix external llvm build. It needs to know where llvm-tblgen is. 2012-12-10 23:52:34 +00:00
lldb Fix typo in error message (print requested URL instead of command name when plugin missing) 2012-12-18 20:00:40 +00:00
llvm Tighten up the splice() API for bundled instructions. 2012-12-18 20:59:41 +00:00
polly return -1 when polly::getNumberOfIterations returns -1 2012-12-18 08:56:51 +00:00