Open Quuxplusone opened 7 years ago
Attached clangColLimBug.txt
(1034 bytes, text/plain): Same example as in the description but without broken lines
Another example:
<before.cc>
void WebRtcIlbcfix_HpInput(
int16_t* signal, /* (i/o) signal vector */
int16_t* ba, /* (i) B- and A-coefficients (2:nd order)
{b[0] b[1] b[2] -a[1] -a[2]}
a[0] is assumed to be 1.0 */
bool dummy);
Formatting:
% clang-format --style='{ColumnLimit: 80}' before.cc > after.cc
<after.cc>
void WebRtcIlbcfix_HpInput(int16_t *ba, /* (i) B- and A-coefficients (2:nd
order) {b[0] b[1] b[2] -a[1] -a[2]}
a[0] is assumed to be 1.0 */
bool dummy);
Lines 3 and 4 exceed the column limit.
% awk '{print length;}' after.cc
69
80
86
81
39
clangColLimBug.txt
(1034 bytes, text/plain)