Searched refs:__has_attribute (Results 1 - 21 of 21) sorted by relevance

/freebsd-12-stable/contrib/processor-trace/include/
H A Dpt_compiler.h34 #if !defined(__has_attribute)
35 # define __has_attribute(attr) 0 macro
39 # if (__has_attribute(fallthrough))
/freebsd-12-stable/contrib/libpcap/
H A Dvarattrs.h45 #if __has_attribute(unused) \
/freebsd-12-stable/contrib/tcpdump/
H A Dfuncattrs.h50 #ifndef __has_attribute
58 #define __has_attribute(x) 0 macro
67 #if __has_attribute(noreturn) \
94 #if __has_attribute(__format__) \
H A Dextract.h44 * pre-5.0 GCC doesn't have __has_attribute, and I'm not sure whether
48 * __has_attribute, as there are versions of Clang that support
59 #elif __has_attribute(no_sanitize)
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Demangle/
H A DDemangleConfig.h26 #ifndef __has_attribute
27 #define __has_attribute(x) 0 macro
47 #if __has_attribute(used) || DEMANGLE_GNUC_PREREQ(3, 1, 0)
61 #if __has_attribute(noinline) || DEMANGLE_GNUC_PREREQ(3, 4, 0)
/freebsd-12-stable/contrib/libpcap/pcap/
H A Dcompiler-tests.h45 #ifndef __has_attribute
53 #define __has_attribute(x) 0 macro
H A Dfuncattrs.h161 #if __has_attribute(noreturn) \
192 #if __has_attribute(__format__) \
216 #if __has_attribute(deprecated) \
220 * Compiler that supports __has_attribute and __attribute__((deprecated)),
224 * incorrectly, that anything that supports __has_attribute() is
/freebsd-12-stable/sys/contrib/zstd/lib/common/
H A Dcompiler.h67 #ifndef __has_attribute
68 #define __has_attribute(x) 0 /* Compatibility with non-clang compilers. */ macro
80 #if (defined(__clang__) && __has_attribute(__target__)) \
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DCompiler.h37 #ifndef __has_attribute
38 # define __has_attribute(x) 0 macro
124 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
139 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
183 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
190 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
198 // __has_attribute(const), so assume it is supported.
206 #if __has_attribute(pure) || defined(__GNUC__)
223 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
235 #if __has_attribute(always_inlin
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDefs.h108 #ifndef __has_attribute
109 # define __has_attribute(x) 0 macro
117 # if __has_attribute(target)
128 # if __has_attribute(no_sanitize)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_dispatch_defs.h53 #if __has_attribute(noescape)
/freebsd-12-stable/contrib/subversion/subversion/include/
H A Dsvn_types.h78 # if defined(__has_attribute)
79 # if __has_attribute(__warning__)
102 # if defined(__has_attribute)
103 # if __has_attribute(__sentinel__)
/freebsd-12-stable/lib/libc/secure/
H A Dstack_protector.c53 #if __has_attribute(__constructor__) || __GNUC_PREREQ__(4, 3)
/freebsd-12-stable/sys/sys/
H A Dcdefs.h44 #ifndef __has_attribute
45 #define __has_attribute(x) 0 macro
231 #if __GNUC_PREREQ__(4, 3) || __has_attribute(__alloc_size__)
238 #if __GNUC_PREREQ__(4, 9) || __has_attribute(__alloc_align__)
811 #if __has_attribute(__argument_with_type_tag__) && \
812 __has_attribute(__type_tag_for_datatype__)
/freebsd-12-stable/contrib/bc/include/
H A Dbcl.h110 #if defined(__has_attribute)
111 #if __has_attribute(fallthrough)
113 #else // __has_attribute(fallthrough)
115 #endif // __has_attribute(fallthrough)
116 #else // defined(__has_attribute)
118 #endif // defined(__has_attribute)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/builtins/
H A Dcpu_model.c29 #ifndef __has_attribute
30 #define __has_attribute(attr) 0 macro
618 #elif __has_attribute(__constructor__)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h124 // Older GCCs do not understand __has_attribute.
125 #if !defined(__has_attribute)
126 # define __has_attribute(x) 0 macro
/freebsd-12-stable/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_os.h47 #ifndef __has_attribute
48 #define __has_attribute(x) 0 macro
329 #elif __has_attribute(fallthrough) || __GNUC__ >= 7
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DStringRef.h868 #if defined(__clang__) && __has_attribute(enable_if)
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp282 #if __has_attribute(__indirect_return__) && \
/freebsd-12-stable/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h893 # if __has_attribute(unused)

Completed in 216 milliseconds