llvm-project/clang/lib/Format
Daniel Jasper 5fc133e71e clang-format: Fix hanging nested blocks in macros.
Before:
  #define MACRO()                     \
    Debug(aaa, /* force line break */ \
          {                           \
      int i;                          \
      int j;                          \
          })

After:
  #define MACRO()                     \
    Debug(aaa, /* force line break */ \
          {                           \
            int i;                    \
            int j;                    \
          })

llvm-svn: 237108
2015-05-12 10:16:02 +00:00
..
BreakableToken.cpp clang-format: Fix bug in multiline comment wrapping. 2015-05-06 07:17:22 +00:00
BreakableToken.h Fix assertion in BreakableBlockComment (http://llvm.org/PR21916). 2015-01-12 13:11:12 +00:00
CMakeLists.txt clang-format: Factor out UnwrappedLineFormatter into a separate file. 2014-12-10 19:00:42 +00:00
ContinuationIndenter.cpp clang-format: Support aligning ObjC string literals. 2015-05-11 15:15:48 +00:00
ContinuationIndenter.h clang-format: Revamp nested block formatting. 2014-12-12 09:40:58 +00:00
Encoding.h Header guard canonicalization, clang part. 2014-08-13 16:25:19 +00:00
Format.cpp Refactor the formatter of clang-format. 2015-05-11 08:21:35 +00:00
FormatToken.cpp clang-format: Appease the buildbots by including climits. 2015-05-11 13:52:13 +00:00
FormatToken.h clang-format: Support aligning ObjC string literals. 2015-05-11 15:15:48 +00:00
Makefile
TokenAnnotator.cpp clang-format: Support aligning ObjC string literals. 2015-05-11 15:15:48 +00:00
TokenAnnotator.h clang-format: Always align */& in multi-var DeclStmts. 2015-03-01 18:55:26 +00:00
UnwrappedLineFormatter.cpp clang-format: Fix hanging nested blocks in macros. 2015-05-12 10:16:02 +00:00
UnwrappedLineFormatter.h Refactor clang-format's formatter. 2015-05-12 09:23:57 +00:00
UnwrappedLineParser.cpp clang-format: Don't merge subsequent lines into _asm blocks. 2015-05-11 11:59:46 +00:00
UnwrappedLineParser.h Remove all computation of structural errors in clang-format's line parser. 2015-05-06 11:56:29 +00:00
WhitespaceManager.cpp clang-format: Add ability to align assignment operators. 2015-04-29 13:06:49 +00:00
WhitespaceManager.h clang-format: Add ability to align assignment operators. 2015-04-29 13:06:49 +00:00