diff options
author | Daniel Jasper <djasper@google.com> | 2013-02-28 15:04:12 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-02-28 15:04:12 +0000 |
commit | 25e81b255cea00fe633f2822c1d1d708ef871a59 (patch) | |
tree | 68059398682e9b34cf90e9f09e44aa845b3ab6c8 /lib/Sema/SemaCodeComplete.cpp | |
parent | 8ed4100410ea055a03be5ec4a92a947a0ee664cd (diff) |
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
};
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176262 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions