File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,29 @@ ForEachMacros:
107107 - STRV_FOREACH
108108 - STRV_FOREACH_BACKWARDS
109109 - STRV_FOREACH_PAIR
110+ IncludeBlocks : Regroup
111+ IncludeCategories :
112+ # "vmlinux.h" must always be included first in BPF programs before anything else.
113+ - Regex : ' ^"vmlinux.h"$'
114+ Priority : 1
115+ # <bpf/*.h> headers must be included after <linux/types.h> by design.
116+ - Regex : ' ^<bpf/.*\.h>$'
117+ Priority : 2
118+ SortPriority : 3
119+ # <linux/vm_sockets.h> must be included after <sys/socket.h>.
120+ - Regex : ' ^<linux/vm_sockets\.h>$'
121+ Priority : 2
122+ SortPriority : 3
123+ - Regex : ' ^<.*\.h>$'
124+ Priority : 2
125+ - Regex : ' ^"sd-.*\.h"$'
126+ Priority : 4
127+ - Regex : ' ^"audit_type-to-name.h"$'
128+ Priority : 6
129+ - Regex : ' .*'
130+ Priority : 5
131+ # Make sure the "main header" is not treated any differently than other headers.
132+ IncludeIsMainRegex : ' ^$'
110133IndentPPDirectives : AfterHash
111134IndentWidth : 8
112135IndentWrappedFunctionNames : true
You can’t perform that action at this time.
0 commit comments