llvm-project/clang/lib/Format
Daniel Jasper bd05888fa0 Avoid confusing indentations for chained function calls.
Basically treat a function with a trailing call similar to a function
with multiple parameters.

Before:
  aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
      aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa))
      .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa();

After:
  aaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(
                           aaaaaaaaaaaaaaaaaa, aaaaaaaaaaaaaaaaa))
      .aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa();

Also fix typo.

llvm-svn: 185930
2013-07-09 11:57:27 +00:00
..
BreakableToken.cpp Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
BreakableToken.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
CMakeLists.txt Unified token breaking logic for strings and block comments. 2013-04-15 14:28:00 +00:00
Encoding.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
Format.cpp Avoid confusing indentations for chained function calls. 2013-07-09 11:57:27 +00:00
FormatToken.h Fix alignment of closing brace in braced initializers. 2013-07-09 09:06:29 +00:00
Makefile
TokenAnnotator.cpp Format overloaded operators like other functions. 2013-07-09 07:43:55 +00:00
TokenAnnotator.h UTF-8 support for clang-format. 2013-06-05 14:09:10 +00:00
UnwrappedLineParser.cpp Fix alignment of closing brace in braced initializers. 2013-07-09 09:06:29 +00:00
UnwrappedLineParser.h Fix alignment of closing brace in braced initializers. 2013-07-09 09:06:29 +00:00
WhitespaceManager.cpp Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00
WhitespaceManager.h Reformat clang-format's source files after r185822 and others. 2013-07-08 14:34:09 +00:00