scripts: Ignore complex macro diagnostics

SCST uses macro fragments for sense tuples, initializer lists and other
contexts where enclosing the expansion in parentheses would change its
meaning. Treat COMPLEX_MACRO as a project-wide checkpatch exception.
This commit is contained in:
Gleb Chesnokov
2026-08-21 19:58:59 +03:00
parent 28b811135d
commit 91591e4749
+1
View File
@@ -17,6 +17,7 @@ ignore=(
CONSTANT_COMPARISON
NEW_TYPEDEFS
AVOID_BUG
COMPLEX_MACRO
MACRO_ARG_REUSE
IF_0
LONG_LINE_STRING