| /llvm-project-15.0.7/clang/test/SemaObjCXX/ |
| H A D | is-base-of.mm | 9 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
|
| /llvm-project-15.0.7/libcxx/test/libcxx/type_traits/ |
| H A D | is_scalar.objc.pass.mm | 24 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
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | objc-static-assert.mm | 21 static_assert(1, ""); field 24 static_assert(0, ""); // expected-error {{static assertion failed}} field 27 …static_assert(a, ""); // expected-error {{static assertion expression is not an integral constant … field 28 static_assert(sizeof(a) == 4, ""); field 29 static_assert(sizeof(a) == 3, ""); // expected-error {{static assertion failed}} field 72 …static_assert(1, ""); // expected-error {{type name requires a specifier or qualifier}} expected-e… field
|
| H A D | pragma-fenv_access.c | 40 #define static_assert _Static_assert in main() macro
|
| /llvm-project-15.0.7/clang/test/Preprocessor/ |
| H A D | static_assert-already-defined.c | 15 #define static_assert 12 macro 19 #define static_assert 12 macro
|
| H A D | cxx_oper_keyword_ms_compat.cpp | 82 #define static_assert macro
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | static-assert.c | 18 #define static_assert(x, msg) _Static_assert(x, msg) in f() macro
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | instantiate-array.cpp | 8 #define static_assert(__b, __m) \ macro
|
| /llvm-project-15.0.7/clang/test/Lexer/ |
| H A D | cxx0x_keyword_as_cxx98.cpp | 21 #define static_assert(b, s) int CONCAT(check, __LINE__)[(b) ? 1 : 0]; macro
|
| /llvm-project-15.0.7/clang/test/Modules/ |
| H A D | templates.mm | 72 static_assert(size_left == size_right, "same field both ways"); function
|
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr18xx.cpp | 9 #define static_assert(...) __extension__ _Static_assert(__VA_ARGS__) macro
|
| H A D | dr21xx.cpp | 8 #define static_assert(...) __extension__ _Static_assert(__VA_ARGS__) macro
|
| H A D | dr20xx.cpp | 9 #define static_assert(...) _Static_assert(__VA_ARGS__) macro
|
| H A D | dr16xx.cpp | 9 #define static_assert(...) __extension__ _Static_assert(__VA_ARGS__) macro
|
| /llvm-project-15.0.7/lldb/test/API/lang/c/cpp_keyword_identifiers/ |
| H A D | main.c | 50 int static_assert = 1; in main() local
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | expression-traits.cpp | 20 # define static_assert(b_, m_) \ macro
|
| H A D | abstract.cpp | 7 #define static_assert(__b, __m) \ macro
|
| H A D | cxx1y-variable-templates_in_class.cpp | 8 #define static_assert _Static_assert macro
|