Skip to content

clang-format: Set ColumnLimit to 78

Faith Ekstrand requested to merge gfxstrand/mesa:mesa/clang-format-78-char into main

What does this MR do and why?

People have started configuring their text editors to auto-clang-format on save. This causes mass re-formats of every file they touch. This can mostly be gotten around with git add -p and just ignoring changes you didn't intend. When the clang-format file doesn't match what we have in .editorconfig and which has been assumed for years, it causes mass line-unwrapping which those of us who still assume 78 then have to contend with.

This matches .editorconfig

Merge request reports