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 <mkorpershoek@kernel.org> Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
@@ -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:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user