linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] .clang-format: update column limit
@ 2020-06-10 12:51 Christian Brauner
  2020-06-10 15:55 ` Miguel Ojeda
  2020-06-10 17:13 ` Joe Perches
  0 siblings, 2 replies; 14+ messages in thread
From: Christian Brauner @ 2020-06-10 12:51 UTC (permalink / raw)
  To: Miguel Ojeda; +Cc: linux-kernel, clang-built-linux, Christian Brauner

The provided clang-format file wraps at 80 chars. If noone minds I'd like
to adjust this limit to 100 similar to what checkpatch (cf. [1]) uses now.

[1]: commit bdc48fa11e46 ("checkpatch/coding-style: deprecate 80-column warning")
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
---
 .clang-format | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.clang-format b/.clang-format
index a0a96088c74f..2b314a14a658 100644
--- a/.clang-format
+++ b/.clang-format
@@ -52,7 +52,7 @@ BreakConstructorInitializersBeforeComma: false
 #BreakConstructorInitializers: BeforeComma # Unknown to clang-format-4.0
 BreakAfterJavaFieldAnnotations: false
 BreakStringLiterals: false
-ColumnLimit: 80
+ColumnLimit: 100
 CommentPragmas: '^ IWYU pragma:'
 #CompactNamespaces: false # Unknown to clang-format-4.0
 ConstructorInitializerAllOnOneLineOrOnePerLine: false

base-commit: abfbb29297c27e3f101f348dc9e467b0fe70f919
-- 
2.27.0


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2023-12-18 10:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-10 12:51 [PATCH] .clang-format: update column limit Christian Brauner
2020-06-10 15:55 ` Miguel Ojeda
2020-06-10 15:58   ` Nathan Chancellor
2020-06-10 16:23     ` Sedat Dilek
2020-06-10 17:13 ` Joe Perches
2020-06-10 17:32   ` Christian Brauner
2020-06-11 10:03   ` Miguel Ojeda
2020-06-11 10:36     ` Joe Perches
2020-06-11 11:54       ` Miguel Ojeda
2020-06-11 16:22         ` Joe Perches
2020-06-11 18:51           ` Miguel Ojeda
2020-06-11 19:26             ` Joe Perches
2020-06-22  0:03               ` Miguel Ojeda
2023-12-18 10:18                 ` Alexander Potapenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).