Home
last modified time | relevance | path

Searched refs:__has_attribute (Results 1 – 24 of 24) sorted by relevance

/openbmc/linux/include/linux/
H A Dcompiler_attributes.h91 #if __has_attribute(__copy__)
103 #if __has_attribute(__diagnose_as_builtin__)
126 #if __has_attribute(__designated_init__)
137 #if __has_attribute(__error__)
148 #if __has_attribute(__externally_visible__)
185 #if __has_attribute(__no_caller_saved_registers__)
196 #if __has_attribute(__noclone__)
213 #if __has_attribute(__fallthrough__)
239 #if __has_attribute(__nonstring__)
251 #if __has_attribute(__no_profile_instrument_function__)
[all …]
H A Dcompiler_types.h12 __has_attribute(btf_type_tag) && !defined(__BINDGEN__)
131 #if __has_attribute(__preserve_most__) && (defined(CONFIG_X86_64) || defined(CONFIG_ARM64))
H A Dcompiler-gcc.h122 #if defined(CONFIG_KCOV) && __has_attribute(__no_sanitize_coverage__)
/openbmc/libpldm/src/
H A Dcompiler.h7 #ifndef __has_attribute
8 #error The libpldm implementation requires __has_attribute
14 static_assert(__has_attribute(always_inline),
16 static_assert(__has_attribute(nonnull),
18 static_assert(__has_attribute(unused),
20 static_assert(__has_attribute(warn_unused_result),
/openbmc/qemu/subprojects/libvhost-user/include/
H A Dcompiler.h108 #ifndef __has_attribute
109 #define __has_attribute(x) 0 /* compatibility with older GCC */ macro
125 #if __has_attribute(flatten) || !defined(__clang__)
136 #if __has_attribute(error)
151 #if __has_attribute(nonstring)
173 #if __has_attribute(fallthrough)
203 #if __has_attribute(annotate)
209 #if __has_attribute(used)
/openbmc/qemu/subprojects/libvduse/include/
H A Dcompiler.h108 #ifndef __has_attribute
109 #define __has_attribute(x) 0 /* compatibility with older GCC */ macro
125 #if __has_attribute(flatten) || !defined(__clang__)
136 #if __has_attribute(error)
151 #if __has_attribute(nonstring)
173 #if __has_attribute(fallthrough)
203 #if __has_attribute(annotate)
209 #if __has_attribute(used)
/openbmc/qemu/include/qemu/
H A Dcompiler.h108 #ifndef __has_attribute
109 #define __has_attribute(x) 0 /* compatibility with older GCC */ macro
125 #if __has_attribute(flatten) || !defined(__clang__)
136 #if __has_attribute(error)
151 #if __has_attribute(nonstring)
173 #if __has_attribute(fallthrough)
203 #if __has_attribute(annotate)
209 #if __has_attribute(used)
/openbmc/libpldm/include/libpldm/
H A Dcompiler.h6 #if defined __has_attribute
8 #if __has_attribute(always_inline)
12 #if __has_attribute(counted_by)
16 #if __has_attribute(nonnull)
H A Dplatform.h889 #if defined __has_attribute
897 static_assert(__has_attribute(aligned),
/openbmc/linux/lib/zstd/common/
H A Dportability_macros.h25 #ifndef __has_attribute
26 #define __has_attribute(x) 0 macro
56 #if ((defined(__clang__) && __has_attribute(__target__)) \
/openbmc/linux/include/acpi/platform/
H A Dacgcc.h51 #ifndef __has_attribute
52 #define __has_attribute(x) 0 macro
60 #if __has_attribute(__fallthrough__)
/openbmc/libcper/include/libcper/
H A Dcommon-utils.h9 #if defined __has_attribute
10 #if __has_attribute(counted_by)
/openbmc/linux/tools/include/nolibc/
H A Dcompiler.h15 #if defined(__has_attribute)
16 # if __has_attribute(no_stack_protector)
/openbmc/linux/tools/include/linux/
H A Dcompiler-gcc.h15 #if __has_attribute(__fallthrough__)
21 #if __has_attribute(__error__)
/openbmc/linux/tools/perf/util/
H A Dmutex.h13 #ifdef __has_attribute
14 #define HAVE_ATTRIBUTE(x) __has_attribute(x)
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ncp/libowfat/
H A D0001-replace-__pure__-with-compiler-attribute-pure.patch24 +#ifndef __has_attribute
25 + #define __has_attribute(x) 0
28 +#if __has_attribute(pure)
82 +#ifndef __has_attribute
83 + #define __has_attribute(x) 0
86 +#if __has_attribute(pure)
107 +#ifndef __has_attribute
108 + #define __has_attribute(x) 0
111 +#if __has_attribute(pure)
335 +#ifndef __has_attribute
[all …]
/openbmc/linux/tools/perf/tests/
H A Ddwarf-unwind.c29 #ifdef __has_attribute
30 #if __has_attribute(disable_tail_calls)
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_type_tag.c7 #if __has_attribute(btf_type_tag)
H A Dtest_btf_decl_tag.c7 #if __has_attribute(btf_decl_tag)
/openbmc/qemu/tests/unit/
H A Dtest-int128.c16 #if defined(__has_attribute)
17 #if !__has_attribute(__noclone__)
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0001-localedef-Add-hardlink-resolver-from-util-linux.patch91 + * __GNUC_PREREQ is deprecated in favour of __has_attribute() and
123 +#ifndef __has_attribute
124 + #define __has_attribute(x) 0
135 +# if (__has_attribute(alloc_size) && __has_attribute(warn_unused_result)) || __GNUC_PREREQ (4, 3)
143 +# if (__has_attribute(alloc_size) && __has_attribute(warn_unused_result)) || __GNUC_PREREQ (4, 3)
150 +#if __has_attribute(returns_nonnull) || __GNUC_PREREQ (4, 9)
440 +#if __has_feature(address_sanitizer) && __has_attribute(no_sanitize_memory) && __has_attribute(no_…
/openbmc/libpldm/
H A Dmeson.build40 have_tainted_args_test = '#if !__has_attribute(tainted_args)\n#error\n#endif'
/openbmc/linux/arch/loongarch/include/asm/
H A Dpercpu.h17 # if __has_attribute(model)
/openbmc/linux/init/
H A Dmain.c1080 #if !__has_attribute(__no_stack_protector__) in start_kernel()