llvm-project/clang/lib/Format
Daniel Jasper a400cab43a Reduce penalty for splitting after "{" in static initializers.
This fixes llvm.org/PR15379.

Before:
const uint8_t aaaaaaaaaaaaaaaaaaaaaa[0] = { 0x00, 0x00, 0x00, 0x00, 0x00,
                                            0x00,                  // comment
                                            0x00, 0x00, 0x00, 0x00, 0x00,
                                            0x00,                  // comment
                                            0x00, 0x00, 0x00, 0x00 // comment
};

After:
const uint8_t aaaaaaaaaaaaaaaaaaaaaa[0] = {
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // comment
  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // comment
  0x00, 0x00, 0x00, 0x00              // comment
};

llvm-svn: 176262
2013-02-28 15:04:12 +00:00
..
CMakeLists.txt Move the token annotator into separate files. 2013-01-29 21:01:14 +00:00
Format.cpp Improve formatting of #defines. 2013-02-28 11:05:57 +00:00
Makefile
TokenAnnotator.cpp Reduce penalty for splitting after "{" in static initializers. 2013-02-28 15:04:12 +00:00
TokenAnnotator.h Allow breaking between a type and name in variable declarations. 2013-02-24 18:54:32 +00:00
UnwrappedLineParser.cpp Fix crash for incomplete labels in macros. 2013-02-12 20:17:17 +00:00
UnwrappedLineParser.h Move the token annotator into separate files. 2013-01-29 21:01:14 +00:00