clang-format: update attribute macros

Use the command to update the attribute macros list. Seemingly we've
updated the list manually, which meant that a) some symbols were not
annotated the expected way and b) some macros were not picked up.

First we start with auto-generating the list, the other issues will be
handled as follow-ups.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/361
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
This commit is contained in:
Emil Velikov 2025-06-03 18:55:03 +01:00 committed by Lucas De Marchi
parent 59b46aa53c
commit 32008fc497

View File

@ -80,15 +80,15 @@ ForEachMacros:
AttributeMacros:
- KMOD_EXPORT
- TS_EXPORT
- _aligned_
- _alignedptr_
- _always_inline_
- _clang_suppress_
- _clang_suppress_alloc_
- _cleanup_
- _must_check_
- _nonnull_
- _nonnull_all_
- _printf_format_
- _section_
- _sentinel_
- noreturn
IncludeBlocks: Preserve