Searched refs:_Static_assert (Results 1 - 25 of 57) sorted by relevance

123

/netbsd-current/tests/usr.bin/xlint/lint1/
H A Dmsg_354.c4 // Test for message: '_Static_assert' requires C11 or later [354]
11 /* expect+1: error: '_Static_assert' requires C11 or later [354] */
12 _Static_assert(1 > 0, "message");
13 /* expect+1: error: '_Static_assert' without message requires C23 or later [355] */
14 _Static_assert(1 > 0);
H A Dmsg_355.c4 // Test for message: '_Static_assert' without message requires C23 or later [355]
11 _Static_assert(1 > 0, "message");
12 /* expect+1: error: '_Static_assert' without message requires C23 or later [355] */
13 _Static_assert(1 > 0);
H A Dc23.c82 _Static_assert(1 > 0, "string");
83 _Static_assert(1 > 0);
H A Dc11.c70 _Static_assert(1 > 0, "string");
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/
H A Dverify.h24 /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert (R, DIAGNOSTIC)
28 Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as
52 system headers, defines a conflicting _Static_assert that is no
56 # undef _Static_assert macro
63 If _Static_assert works, verify (R) uses it directly. Similarly,
64 _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct
68 compilers that do not support _Static_assert:
149 which do not support _Static_assert, also do not warn about the
197 _Static_assert (R, DIAGNOSTIC); \
209 two, so that the _Static_assert macr
226 # define _Static_assert macro
[all...]
H A Dcdefs.h437 #if (!defined _Static_assert && !defined __cplusplus \
440 # define _Static_assert(expr, diagnostic) \ macro
/netbsd-current/external/gpl3/gcc/dist/fixincludes/tests/base/
H A Dassert.h24 #define static_assert _Static_assert
/netbsd-current/external/gpl3/gcc.old/dist/fixincludes/tests/base/
H A Dassert.h24 #define static_assert _Static_assert
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/
H A Dverify.h24 /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert (R, DIAGNOSTIC)
27 Define _GL_HAVE__STATIC_ASSERT1 to 1 if _Static_assert (R) works as
47 system headers, defines a conflicting _Static_assert that is no
51 # undef _Static_assert macro
58 If _Static_assert works, verify (R) uses it directly. Similarly,
59 _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct
63 compilers that do not support _Static_assert:
144 which do not support _Static_assert, also do not warn about the
192 _Static_assert (R, DIAGNOSTIC); \
204 two, so that the _Static_assert macr
226 # define _Static_assert macro
[all...]
/netbsd-current/external/gpl3/gdb/dist/libctf/
H A Dswap.h70 #define _Static_assert(cond, err) macro
78 _Static_assert (sizeof (x) == 1 || (sizeof (x) % 2 == 0 \
/netbsd-current/external/gpl3/binutils.old/dist/libctf/
H A Dswap.h70 #define _Static_assert(cond, err) macro
78 _Static_assert (sizeof (x) == 1 || (sizeof (x) % 2 == 0 \
/netbsd-current/external/gpl3/binutils/dist/libctf/
H A Dswap.h70 #define _Static_assert(cond, err) macro
78 _Static_assert (sizeof (x) == 1 || (sizeof (x) % 2 == 0 \
/netbsd-current/external/lgpl3/mpfr/dist/src/
H A Dmpfr-sassert.h44 # define MPFR_STAT_STATIC_ASSERT(c) _Static_assert((c), #c )
/netbsd-current/usr.sbin/fstyp/
H A Dhfsplus.c99 _Static_assert(sizeof(struct hfsp_vol_hdr) == 512, "");
H A Dexfat.c119 _Static_assert(sizeof(struct exfat_dirent) == 32, "spec");
127 _Static_assert(sizeof(struct exfat_de_label) == 32, "spec");
/netbsd-current/include/
H A Dassert.h100 #define static_assert _Static_assert
/netbsd-current/external/apache2/llvm/dist/clang/lib/Headers/
H A D__clang_cuda_intrinsics.h45 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
46 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
57 _Static_assert(sizeof(long) == sizeof(long long) || \
80 _Static_assert(sizeof(__tmp) == sizeof(__val)); \
129 _Static_assert(sizeof(__val) == sizeof(__Bits)); \
130 _Static_assert(sizeof(__Bits) == 2 * sizeof(int)); \
147 _Static_assert(sizeof(long) == sizeof(long long) || \
166 _Static_assert(sizeof(__tmp) == sizeof(__val)); \
/netbsd-current/external/gpl3/gcc/dist/libgcc/soft-fp/
H A Dsoft-fp.h67 _Static_assert ((expr), msg)
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/config/
H A Dfpu-aix.h42 _Static_assert (sizeof(fenv_t) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/soft-fp/
H A Dsoft-fp.h67 _Static_assert ((expr), msg)
/netbsd-current/external/gpl3/gcc/dist/libgfortran/config/
H A Dfpu-aarch64.h58 _Static_assert (sizeof(struct fenv) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
H A Dfpu-aix.h42 _Static_assert (sizeof(fenv_t) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
/netbsd-current/external/gpl3/gcc/dist/libgfortran/runtime/
H A Dstring.c245 _Static_assert (sizeof(GFC_UINTEGER_LARGEST) <= 2 * sizeof(uint64_t),
/netbsd-current/external/bsd/pcc/dist/pcc/cc/ccom/
H A Dscan.l257 { "_Static_assert", C_STATICASSERT, DEFKW },
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
H A Dutil.h247 #define STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
249 #define STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)

Completed in 171 milliseconds

123