Lines Matching +full:build +full:- +full:clang

4  * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
92 #define __has_feature(x) 0 /* compatibility with non-clang compilers */
96 #define __has_builtin(x) 0 /* compatibility with non-clang compilers */
117 * versions we support have the "flatten" attribute. Clang may not have the
142 * with functions that expect NUL-terminated strings, and to avoid warnings
155 * so disable it for a non-optimizing build.
165 * switch-case statements, but sometimes the compiler has problems
176 * If CFI is enabled, use an attribute to disable cfi-icall on the following
179 #define QEMU_DISABLE_CFI __attribute__((no_sanitize("cfi-icall")))
186 * Apple clang version 14 has a bug in its __builtin_subcll(); define
188 * When a version of Apple clang which has this bug fixed is released
190 * See https://gitlab.com/qemu-project/qemu/-/issues/1631
191 * and https://gitlab.com/qemu-project/qemu/-/issues/1659 for details.
211 * http://clang.llvm.org/docs/ThreadSafetyAnalysis.html
213 * TSA is available since clang 3.6-ish.
218 # define TSA(x) /* No TSA, make TSA attributes no-ops. */
248 * More than one mutex may be specified, comma-separated.
260 * More than one mutex may be specified, comma-separated.
271 * More than one mutex may be specified, comma-separated.
282 * More than one mutex may be specified, comma-separated.
301 * More than one mutex may be specified, comma-separated.
324 * the variable that receives the old value of an atomically-accessed
325 * variable must be non-qualified, because atomic builtins return values
326 * through a pointer-type argument as in __atomic_load(&var, &old, MODEL).
330 * converted to a non-qualified type just by applying a binary operator.