/netbsd-current/tests/usr.bin/xlint/lint1/ |
H A D | msg_354.c | 4 // 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 D | msg_355.c | 4 // 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 D | c23.c | 82 _Static_assert(1 > 0, "string"); 83 _Static_assert(1 > 0);
|
H A D | c11.c | 70 _Static_assert(1 > 0, "string");
|
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | verify.h | 24 /* 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 D | cdefs.h | 437 #if (!defined _Static_assert && !defined __cplusplus \ 440 # define _Static_assert(expr, diagnostic) \ macro
|
/netbsd-current/external/gpl3/gcc/dist/fixincludes/tests/base/ |
H A D | assert.h | 24 #define static_assert _Static_assert
|
/netbsd-current/external/gpl3/gcc.old/dist/fixincludes/tests/base/ |
H A D | assert.h | 24 #define static_assert _Static_assert
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | verify.h | 24 /* 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 D | swap.h | 70 #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 D | swap.h | 70 #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 D | swap.h | 70 #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 D | mpfr-sassert.h | 44 # define MPFR_STAT_STATIC_ASSERT(c) _Static_assert((c), #c )
|
/netbsd-current/usr.sbin/fstyp/ |
H A D | hfsplus.c | 99 _Static_assert(sizeof(struct hfsp_vol_hdr) == 512, "");
|
H A D | exfat.c | 119 _Static_assert(sizeof(struct exfat_dirent) == 32, "spec"); 127 _Static_assert(sizeof(struct exfat_de_label) == 32, "spec");
|
/netbsd-current/include/ |
H A D | assert.h | 100 #define static_assert _Static_assert
|
/netbsd-current/external/apache2/llvm/dist/clang/lib/Headers/ |
H A D | __clang_cuda_intrinsics.h | 45 _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 D | soft-fp.h | 67 _Static_assert ((expr), msg)
|
/netbsd-current/external/gpl3/gcc.old/dist/libgfortran/config/ |
H A D | fpu-aix.h | 42 _Static_assert (sizeof(fenv_t) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
|
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/soft-fp/ |
H A D | soft-fp.h | 67 _Static_assert ((expr), msg)
|
/netbsd-current/external/gpl3/gcc/dist/libgfortran/config/ |
H A D | fpu-aarch64.h | 58 _Static_assert (sizeof(struct fenv) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
|
H A D | fpu-aix.h | 42 _Static_assert (sizeof(fenv_t) <= (size_t) GFC_FPE_STATE_BUFFER_SIZE,
|
/netbsd-current/external/gpl3/gcc/dist/libgfortran/runtime/ |
H A D | string.c | 245 _Static_assert (sizeof(GFC_UINTEGER_LARGEST) <= 2 * sizeof(uint64_t),
|
/netbsd-current/external/bsd/pcc/dist/pcc/cc/ccom/ |
H A D | scan.l | 257 { "_Static_assert", C_STATICASSERT, DEFKW },
|
/netbsd-current/external/mpl/dhcp/bind/dist/lib/isc/include/isc/ |
H A D | util.h | 247 #define STATIC_ASSERT(cond, msg) _Static_assert(cond, msg) 249 #define STATIC_ASSERT(cond, msg) _Static_assert(cond, msg)
|