Home
last modified time | relevance | path

Searched defs:static_assert (Results 1 – 25 of 33) sorted by relevance

12

/external/llvm-project/clang/test/SemaObjCXX/
Dis-base-of.mm9 static_assert(__is_base_of(NSObj, NSChild), ""); function
10 static_assert(!__is_base_of(NSChild, NSObj), ""); function
12 static_assert(__is_base_of(NSObj, NSObj), ""); function
14 static_assert(!__is_base_of(NSObj *, NSChild *), ""); function
15 static_assert(!__is_base_of(NSChild *, NSObj *), ""); function
17 static_assert(__is_base_of(const volatile NSObj, NSChild), ""); function
18 static_assert(__is_base_of(NSObj, const volatile NSChild), ""); function
22 static_assert(!__is_base_of(NSForward, NSObj), ""); function
23 static_assert(!__is_base_of(NSObj, NSForward), ""); // expected-error{{incomplete type 'NSForward'}} function
25 static_assert(!__is_base_of(id, NSObj), ""); function
/external/llvm-project/libcxx/test/libcxx/type_traits/
Dis_scalar.objc.pass.mm24 static_assert(std::is_scalar<void (^)(void)>::value, ""); function
25 static_assert(std::is_scalar<void (^)()>::value, ""); function
26 static_assert(std::is_scalar<void (^)(Arg<0>)>::value, ""); function
27 static_assert(std::is_scalar<void (^)(Arg<0>, Arg<1>)>::value, ""); function
28 static_assert(std::is_scalar<void (^)(Arg<0>, Arg<1>, Arg<2>)>::value, ""); function
29 static_assert(std::is_scalar<Foo (^)(void)>::value, ""); function
30 static_assert(std::is_scalar<Foo (^)()>::value, ""); function
31 static_assert(std::is_scalar<Foo (^)(Arg<0>)>::value, ""); function
32 static_assert(std::is_scalar<Foo (^)(Arg<0>, Arg<1>)>::value, ""); function
33 static_assert(std::is_scalar<Foo (^)(Arg<0>, Arg<1>, Arg<2>)>::value, ""); function
/external/llvm-project/clang/test/Parser/
Dobjc-static-assert.mm21 static_assert(1, ""); field
24 static_assert(0, ""); // expected-error {{static_assert failed}} field
27static_assert(a, ""); // expected-error {{static_assert expression is not an integral constant exp… field
28 static_assert(sizeof(a) == 4, ""); field
29 static_assert(sizeof(a) == 3, ""); // expected-error {{static_assert failed}} field
72static_assert(1, ""); // expected-error {{type name requires a specifier or qualifier}} expected-e… field
Dpragma-fenv_access.c40 #define static_assert _Static_assert in main() macro
/external/pigweed/pw_polyfill/standard_library_public/pw_polyfill/standard_library/
Dassert.h22 #define static_assert _Static_assert macro
24 #define static_assert(...) macro
/external/strace/
Dstatic_assert.h40 # define static_assert _Static_assert macro
44 # define static_assert(expr, message) \ macro
/external/mesa3d/include/
Dc11_compat.h21 #define static_assert _Static_assert macro
/external/pigweed/pw_polyfill/
Dlanguage_features.h52 #define static_assert(...) \ macro
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmisc-static-assert.c18 #define static_assert(x, msg) _Static_assert(x, msg) in f() macro
/external/clang/test/SemaTemplate/
Dinstantiate-array.cpp8 #define static_assert(__b, __m) \ macro
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-array.cpp8 #define static_assert(__b, __m) \ macro
/external/clang/test/Lexer/
Dcxx0x_keyword_as_cxx98.cpp21 #define static_assert(b, s) int CONCAT(check, __LINE__)[(b) ? 1 : 0]; macro
/external/llvm-project/clang/test/Lexer/
Dcxx0x_keyword_as_cxx98.cpp21 #define static_assert(b, s) int CONCAT(check, __LINE__)[(b) ? 1 : 0]; macro
/external/clang/test/Modules/
Dtemplates.mm72 static_assert(size_left == size_right, "same field both ways"); function
/external/llvm-project/clang/test/Modules/
Dtemplates.mm72 static_assert(size_left == size_right, "same field both ways"); function
/external/clang/test/CXX/dcl.decl/dcl.init/
Dp5.cpp43 #define static_assert(B, S) typedef int assert_failed[(B) ? 1 : -1]; macro
/external/llvm-project/clang/test/CXX/drs/
Ddr18xx.cpp9 #define static_assert(...) __extension__ _Static_assert(__VA_ARGS__) macro
Ddr21xx.cpp8 #define static_assert(...) __extension__ _Static_assert(__VA_ARGS__) macro
/external/llvm-project/lldb/test/API/lang/c/cpp_keyword_identifiers/
Dmain.c50 int static_assert = 1; in main() local
/external/llvm-project/clang/test/Preprocessor/
Dcxx_oper_keyword_ms_compat.cpp82 #define static_assert macro
/external/clang/test/Preprocessor/
Dcxx_oper_keyword_ms_compat.cpp82 #define static_assert macro
/external/clang/test/SemaCXX/
Dexpression-traits.cpp20 # define static_assert(b_, m_) \ macro
Dabstract.cpp7 #define static_assert(__b, __m) \ macro
/external/llvm-project/clang/test/SemaCXX/
Dexpression-traits.cpp20 # define static_assert(b_, m_) \ macro
/external/rust/crates/percent-encoding/
Dlib.rs108 macro_rules! static_assert { macro

12