From 562e41acde9441ba027314295ed0566daf55b1f2 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Fri, 24 Apr 2026 15:05:10 +0200 Subject: doc: .clang-format description We cannot use .clang-format without modification. For instance U-Boot has some for each macros that Linux does not have. Adjust the description. Reviewed-by: Mattijs Korpershoek Reviewed-by: Quentin Schulz Signed-off-by: Heinrich Schuchardt --- doc/develop/codingstyle.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/develop/codingstyle.rst') diff --git a/doc/develop/codingstyle.rst b/doc/develop/codingstyle.rst index 2a69162fa95..26881cf3900 100644 --- a/doc/develop/codingstyle.rst +++ b/doc/develop/codingstyle.rst @@ -80,8 +80,10 @@ Code Formatting with clang-format ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ U-Boot provides a `.clang-format` configuration file that was copied directly -from the Linux kernel without any modifications, ensuring complete compatibility -with kernel coding standards. Here are common ways to use clang-format: +from the Linux kernel, ensuring complete compatibility with kernel coding +standards. + +Here are common ways to use clang-format: **Basic usage for single files:** -- cgit v1.2.3