aboutsummaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2022-03-05 04:16:42 +0530
committerAlexei Starovoitov <[email protected]>2022-03-05 15:29:36 -0800
commitf014a00bbeb09cea16017b82448d32a468a6b96f (patch)
tree2008d36f755472ce76dd3ef7ae72914d71e3c408 /include/linux/compiler-gcc.h
parent24d5bb806c7e2c0b9972564fd493069f612d90dd (diff)
compiler-clang.h: Add __diag infrastructure for clang
Add __diag macros similar to those in compiler-gcc.h, so that warnings that need to be adjusted for specific cases but not globally can be ignored when building with clang. Signed-off-by: Nathan Chancellor <[email protected]> Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Link: https://lore.kernel.org/bpf/[email protected] [ Kartikeya: wrote commit message ]
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions