llvm-project/clang/lib/Format
Daniel Jasper 969643594e clang-format: Fix indentation corner case.
Before:
  aaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
                 .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
  aaaaaaaaaa = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
      aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
                   .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa();

After:
  aaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
                 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
                 .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa);
  aaaaaaaaaa = aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
                   aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)
                   .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa();

Probably still not ideal, but should be a step into the right direction.

llvm-svn: 197557
2013-12-18 10:44:36 +00:00
..
BreakableToken.cpp Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00
BreakableToken.h Remove extra whitespace instead of breaking the line in comments when possible. 2013-11-12 17:50:13 +00:00
CMakeLists.txt [CMake] clang/lib: Prune redundant dependencies. 2013-12-10 02:36:22 +00:00
ContinuationIndenter.cpp clang-format: Fix indentation corner case. 2013-12-18 10:44:36 +00:00
ContinuationIndenter.h clang-format: Improve handling of raw string literals. 2013-12-16 07:23:08 +00:00
Encoding.h Fix crash in getStringSplit. 2013-11-26 10:38:53 +00:00
Format.cpp clang-format: Don't adapt local format to macros. 2013-12-17 12:38:55 +00:00
FormatToken.cpp clang-format: Be more conservative about braced list column layout. 2013-12-09 14:40:19 +00:00
FormatToken.h clang-format: Keep trailing annotations together. 2013-12-16 15:01:54 +00:00
Makefile
TokenAnnotator.cpp clang-format: Fix ObjC method expr in binary expressions. 2013-12-18 07:08:51 +00:00
TokenAnnotator.h clang-format: Improve selective formatting of nested statements. 2013-11-28 15:58:55 +00:00
UnwrappedLineParser.cpp Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
UnwrappedLineParser.h Implemented GNU-style formatting for compound statements. 2013-12-12 09:49:52 +00:00
WhitespaceManager.cpp clang-format: Improve clang-format's detection about comment binding. 2013-11-08 23:31:14 +00:00
WhitespaceManager.h Fix a tranche of comment, test and doc typos 2013-12-05 16:25:25 +00:00