llvm-project/clang/unittests/Format
Daniel Jasper 9b246e09ce clang-format: Keep empty lines and format 1-line nested blocks.
Let clang-format consistently keep up to one empty line (configured via
FormatStyle::MaxEmptyLinesToKeep) in nested blocks, e.g. lambdas. Also,
actually format single statements in nested blocks.

Before:
  DEBUG({ int     i; });
  DEBUG({
    int i;
    // an empty line here would just be removed.
    int j;
  });

After:
  DEBUG({ int i; });
  DEBUG({
    int i;

    int j;
  });

llvm-svn: 190278
2013-09-08 14:07:57 +00:00
..
CMakeLists.txt fix the unit tests too. 2013-01-19 18:30:39 +00:00
FormatTest.cpp clang-format: Keep empty lines and format 1-line nested blocks. 2013-09-08 14:07:57 +00:00
Makefile [Driver] Refactor clang driver to use LLVM's Option library 2013-06-14 17:17:23 +00:00