llvm-project/clang/lib/Format
Daniel Jasper 998cabcff4 clang-format: Fix bad line break with pointers to members.
Before:
  void f() {
    (a->*
     aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)(aaaa,
                                           bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb);
  }

After:
  void f() {
    (a->*aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)(
        aaaa, bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb);
  }

Also add missing test case.

llvm-svn: 186583
2013-07-18 14:46:07 +00:00
..
BreakableToken.cpp Add 'static' and 'const' qualifiers to some arrays of strings. 2013-07-15 08:24:27 +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 Improve line breaking before multi-line strings. 2013-07-17 15:38:19 +00:00
FormatToken.h clang-format: Improve handling of unterminated string literals. 2013-07-16 20:28:33 +00:00
Makefile
TokenAnnotator.cpp clang-format: Fix bad line break with pointers to members. 2013-07-18 14:46:07 +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