osmith submitted this change.
clang-format: set ColumnLimit: 0
While our coding style says "we accept line lengths of up to 120
characters", in practice we oftentimes end up preferring longer lines
(e.g. due to having comments at the end, or to keep them consistent with
similar but shorter lines).
The checkpatch config has already been adjusted to just ignore the line
length completely. Adjust the clang-format config to do the same.
Related: osmo-ci I88fd86ac550fddb3017aeceb647c3d9e75367372
Change-Id: I1f0d511d90a0725f195e08dd6a99eb3d55bd6fc1
---
M .clang-format
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.clang-format b/.clang-format
index 4de65a5..e1b8d44 100644
--- a/.clang-format
+++ b/.clang-format
@@ -52,7 +52,7 @@
#BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: false
-ColumnLimit: 120
+ColumnLimit: 0
CommentPragmas: '^ IWYU pragma:'
#CompactNamespaces: false # Unknown to clang-format-4.0
ConstructorInitializerAllOnOneLineOrOnePerLine: false
To view, visit change 42227. To unsubscribe, or for help writing mail filters, visit settings.