diff options
| author | Manuel Klimek <klimek@google.com> | 2017-11-17 11:17:15 +0000 |
|---|---|---|
| committer | Manuel Klimek <klimek@google.com> | 2017-11-17 11:17:15 +0000 |
| commit | 7786614350986a58a1864c9003b67c0dcdbf1b77 (patch) | |
| tree | 4a7e37af910209a0e9a45f5580fd52162035dcde /clang/lib/Format/UnwrappedLineParser.cpp | |
| parent | dd9ea751e1ddf8dab14cfb49b7a0e92ea4dacaec (diff) | |
| download | bcm5719-llvm-7786614350986a58a1864c9003b67c0dcdbf1b77.tar.gz bcm5719-llvm-7786614350986a58a1864c9003b67c0dcdbf1b77.zip | |
Implement more accurate penalty & trade-offs while breaking protruding tokens.
For each line that we break in a protruding token, compute whether the
penalty of breaking is actually larger than the penalty of the excess
characters. Only break if that is the case.
llvm-svn: 318515
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions

