HomeSort by relevance Sort by last modified time
    Searched full:_static_assert (Results 1 - 22 of 22) sorted by null

  /external/clang/test/Headers/
tgmath.c 16 _Static_assert(sizeof(creal(f)) == sizeof(f), "");
17 _Static_assert(sizeof(creal(d)) == sizeof(d), "");
18 _Static_assert(sizeof(creal(l)) == sizeof(l), "");
20 _Static_assert(sizeof(creal(fc)) == sizeof(f), "");
21 _Static_assert(sizeof(creal(dc)) == sizeof(d), "");
22 _Static_assert(sizeof(creal(lc)) == sizeof(l), "");
26 _Static_assert(sizeof(fabs(f)) == sizeof(f), "");
27 _Static_assert(sizeof(fabs(d)) == sizeof(d), "");
28 _Static_assert(sizeof(fabs(l)) == sizeof(l), "");
30 _Static_assert(sizeof(fabs(fc)) == sizeof(f), "")
    [all...]
c11.c 17 _Static_assert(__alignas_is_defined, "");
18 _Static_assert(__alignof_is_defined, "");
20 _Static_assert(__alignof(c) == 4, "");
  /external/clang/test/Sema/
static-assert.c 4 _Static_assert("foo", "string is nonzero");
9 _Static_assert(1, "1 is nonzero");
10 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}}
13 _Static_assert(1, "1 is nonzero");
14 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}}
17 _Static_assert(1, invalid); // expected-error {{expected string literal for diagnostic message in static_assert}}
21 _Static_assert(1, "1 is nonzero");
22 _Static_assert(0, "0 is nonzero"); // expected-error {{static_assert failed "0 is nonzero"}}
34 _Static_assert(ASSERT_IS_TYPE(T1), "T1 is not a type"); \
35 _Static_assert(ASSERT_IS_TYPE(T2), "T2 is not a type");
    [all...]
atomic-ops.c 13 _Static_assert(__GCC_ATOMIC_BOOL_LOCK_FREE == 2, "");
14 _Static_assert(__GCC_ATOMIC_CHAR_LOCK_FREE == 2, "");
15 _Static_assert(__GCC_ATOMIC_CHAR16_T_LOCK_FREE == 2, "");
16 _Static_assert(__GCC_ATOMIC_CHAR32_T_LOCK_FREE == 2, "");
17 _Static_assert(__GCC_ATOMIC_WCHAR_T_LOCK_FREE == 2, "");
18 _Static_assert(__GCC_ATOMIC_SHORT_LOCK_FREE == 2, "");
19 _Static_assert(__GCC_ATOMIC_INT_LOCK_FREE == 2, "");
20 _Static_assert(__GCC_ATOMIC_LONG_LOCK_FREE == 2, "");
22 _Static_assert(__GCC_ATOMIC_LLONG_LOCK_FREE == 1, "");
24 _Static_assert(__GCC_ATOMIC_LLONG_LOCK_FREE == 2, "")
    [all...]
alignas.c 25 _Static_assert(alignof(align_big) == alignof(int), "k's alignment is wrong");
26 _Static_assert(alignof(align_small) == 1, "j's alignment is wrong");
27 _Static_assert(alignof(align_multiple) == 8, "l's alignment is wrong");
28 _Static_assert(alignof(struct align_member) == 8, "quuux's alignment is wrong");
29 _Static_assert(sizeof(struct align_member) == 8, "quuux's size is wrong");
  /external/clang/test/Driver/
mips-long-double.c 9 _Static_assert(sizeof(long double) == 8, "sizeof long double is wrong");
10 _Static_assert(_Alignof(long double) == 8, "alignof long double is wrong");
12 _Static_assert(sizeof(long double) == 16, "sizeof long double is wrong");
13 _Static_assert(_Alignof(long double) == 16, "alignof long double is wrong");
16 _Static_assert(sizeof(long double) == 8, "sizeof long double is wrong");
17 _Static_assert(_Alignof(long double) == 8, "alignof long double is wrong");
  /external/clang/test/Preprocessor/
macro_arg_directive.c 8 _Static_assert(n == 5, "");
  /external/bison/lib/
verify.h 24 /* Define _GL_HAVE__STATIC_ASSERT to 1 if _Static_assert works as per C11.
47 If _Static_assert works, verify (R) uses it directly. Similarly,
48 _GL_VERIFY_TRUE works by packaging a _Static_assert inside a struct
52 compilers that do not support _Static_assert:
133 which do not support _Static_assert, also do not warn about the
181 _Static_assert (R, DIAGNOSTIC); \
197 # define _GL_VERIFY _Static_assert
206 # if !defined _GL_HAVE__STATIC_ASSERT && !defined _Static_assert
207 # define _Static_assert(R, DIAGNOSTIC) _GL_VERIFY (R, DIAGNOSTIC)
210 # define static_assert _Static_assert /* C11 requires this #define. *
    [all...]
  /bionic/libm/include/
complex.h 42 _Static_assert(__generic(_Complex_I, float _Complex, 1, 0),
  /external/chromium_org/third_party/WebKit/Source/wtf/
Assertions.h 302 #define COMPILE_ASSERT(exp, name) _Static_assert((exp), #name)
  /external/llvm/include/llvm/Support/
Compiler.h 383 # define LLVM_STATIC_ASSERT(expr, msg) _Static_assert(expr, msg)
  /external/clang/include/clang/Basic/
TokenKinds.def 264 KEYWORD(_Static_assert , KEYALL)
DiagnosticParseKinds.td 360 "_Static_assert is a C11-specific feature">, InGroup<C11>;
    [all...]
  /external/clang/docs/
LanguageExtensions.rst 914 C11 ``_Static_assert()``
918 to determine if support for compile-time assertions using ``_Static_assert`` is
    [all...]
  /external/clang/lib/Parse/
ParseDeclCXX.cpp 626 /// _Static_assert ( constant-expression , string-literal ) ;
    [all...]
ParseDecl.cpp     [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/libexec/gcc/i686-linux/4.6.x-google/
cc1 
cc1plus 
  /prebuilts/gcc/linux-x86/mips/mipsel-linux-android-4.6/libexec/gcc/mipsel-linux-android/4.6/
cc1 
cc1plus 
  /prebuilts/gcc/linux-x86/x86/i686-linux-android-4.6/libexec/gcc/i686-linux-android/4.6/
cc1 
cc1plus 

Completed in 740 milliseconds