Skip to content

Commit 30a3057

Browse files
committed
.clang-format: Set ColumnLimit to 0
This disables adding/removing line breaks by `clang-format`, as this could very well introduce regressions in code formatting in terms of our coding convention: If a long array was matching the soft limit of 80 chars per line, `clang-format` would reflow it to match the hard limit of 100 chars. One can selectively disable `clang-format` with magic comments. But at this point, I'd say we should rather disable this feature until we can configure it in a way to match our coding convention better (without having to add magic comments).
1 parent 06aaf64 commit 30a3057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ BreakConstructorInitializersBeforeComma: false
5757
BreakConstructorInitializers: BeforeComma
5858
BreakAfterJavaFieldAnnotations: false
5959
BreakStringLiterals: false
60-
ColumnLimit: 100
60+
ColumnLimit: 0
6161
CommentPragmas: '^ IWYU pragma:'
6262
CompactNamespaces: false
6363
ConstructorInitializerAllOnOneLineOrOnePerLine: false

0 commit comments

Comments
 (0)