Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DCompiler.h35 #ifndef __has_attribute
36 # define __has_attribute(x) 0 macro
104 #if (__has_attribute(visibility) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
117 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
157 #if __has_attribute(unused) || LLVM_GNUC_PREREQ(3, 1, 0)
164 #if (__has_attribute(weak) || LLVM_GNUC_PREREQ(4, 0, 0)) && \
180 #if __has_attribute(pure) || defined(__GNUC__)
197 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
209 #if __has_attribute(always_inline) || LLVM_GNUC_PREREQ(4, 0, 0)
225 #if __has_attribute(returns_nonnull) || LLVM_GNUC_PREREQ(4, 9, 0)
[all …]
/freebsd-12.1/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.h59 #elif __has_attribute(no_sanitize)
/freebsd-12.1/contrib/llvm/include/llvm/Demangle/
H A DCompiler.h32 #ifndef __has_attribute
33 #define __has_attribute(x) 0 macro
53 #if __has_attribute(used) || LLVM_GNUC_PREREQ(3, 1, 0)
65 #if __has_attribute(noinline) || LLVM_GNUC_PREREQ(3, 4, 0)
/freebsd-12.1/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.1/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.1/contrib/libpcap/pcap/
H A Dfuncattrs.h161 #if __has_attribute(noreturn) \
191 #if __has_attribute(__format__) \
214 #if __has_attribute(deprecated) \
H A Dcompiler-tests.h45 #ifndef __has_attribute
53 #define __has_attribute(x) 0 macro
/freebsd-12.1/contrib/compiler-rt/lib/fuzzer/
H A DFuzzerDefs.h92 #ifndef __has_attribute
93 # define __has_attribute(x) 0 macro
101 # if __has_attribute(target)
112 # if __has_attribute(no_sanitize)
/freebsd-12.1/contrib/subversion/subversion/include/
H A Dsvn_types.h74 # if defined(__has_attribute)
75 # if __has_attribute(__warning__)
98 # if defined(__has_attribute)
99 # if __has_attribute(__sentinel__)
/freebsd-12.1/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.1/contrib/libc++/include/
H A D__config132 #ifndef __has_attribute
133 #define __has_attribute(__x) 0
325 #if __has_attribute(__no_sanitize__) && !defined(_LIBCPP_COMPILER_GCC)
719 # if __has_attribute(__type_visibility__)
769 #if __has_attribute(internal_linkage)
775 #if __has_attribute(exclude_from_explicit_instantiation)
833 # if __has_attribute(__enable_if__)
1030 # if __has_attribute(deprecated)
1233 # if defined(__clang__) && __has_attribute(acquire_capability)
1243 #if __has_attribute(require_constant_initialization)
[all …]
H A D__threading_support43 #if defined(__FreeBSD__) && defined(__clang__) && __has_attribute(no_thread_safety_analysis)
/freebsd-12.1/contrib/libpcap/
H A Dvarattrs.h45 #if __has_attribute(unused) \
/freebsd-12.1/contrib/compiler-rt/lib/builtins/
H A Dcpu_model.c30 #ifndef __has_attribute
31 #define __has_attribute(attr) 0 macro
575 #elif __has_attribute(__constructor__)
/freebsd-12.1/lib/libc/secure/
H A Dstack_protector.c53 #if __has_attribute(__constructor__) || __GNUC_PREREQ__(4, 3)
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_internal_defs.h126 #if !defined(__has_attribute)
127 # define __has_attribute(x) 0 macro
/freebsd-12.1/contrib/compiler-rt/lib/asan/
H A Dasan_interceptors.cc278 #if __has_attribute(__indirect_return__) && \ in INTERCEPTOR()
/freebsd-12.1/contrib/llvm/include/llvm/ADT/
H A DStringRef.h877 #if defined(__clang__) && __has_attribute(enable_if) in StringLiteral()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DAttrDocs.td495 Query for this feature with ``__has_attribute(enable_if)``.
604 Query for this feature with ``__has_attribute(diagnose_if)``.
819 Query for this attribute with ``__has_attribute(overloadable)``.
846 Query for this feature with ``__has_attribute(objc_method_family)``.
2087 You can detect support for these attributes with ``__has_attribute()``. For
2092 #if defined(__has_attribute)
2093 # if __has_attribute(argument_with_type_tag) && \
2094 __has_attribute(pointer_with_type_tag) && \
2095 __has_attribute(type_tag_for_datatype)
3354 with ``__has_attribute(swiftcall)``. This implies support for the
/freebsd-12.1/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h893 # if __has_attribute(unused)