From: Lucas De Marchi Date: Mon, 6 Jan 2025 15:16:13 +0000 (-0600) Subject: clang-format: Add new attribute macros X-Git-Tag: v34~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c5a7fba4dfa5a899e3df060231a4b9f07b35562;p=thirdparty%2Fkmod.git clang-format: Add new attribute macros Commits 44855d7 ("shared/macro: Add _alignedptr_") and d7e7c4c ("shared/macro: Add macros for more attributes") added the macros, but forgot to add them to the clang-format configuration. Suggested-by: Emil Velikov Signed-off-by: Lucas De Marchi --- diff --git a/.clang-format b/.clang-format index 06fd6f8a..7b058968 100644 --- a/.clang-format +++ b/.clang-format @@ -80,12 +80,15 @@ ForEachMacros: AttributeMacros: - KMOD_EXPORT - TS_EXPORT + - _aligned_ + - _alignedptr_ - _always_inline_ - _cleanup_ - _must_check_ - _nonnull_ - _nonnull_all_ - _printf_format_ + - _section_ - noreturn IncludeBlocks: Preserve