Home
last modified time | relevance | path

Searched refs:__is_base_of (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/test/SemaObjCXX/
Dis-base-of.mm9 static_assert(__is_base_of(NSObj, NSChild), "");
10 static_assert(!__is_base_of(NSChild, NSObj), "");
12 static_assert(__is_base_of(NSObj, NSObj), "");
14 static_assert(!__is_base_of(NSObj *, NSChild *), "");
15 static_assert(!__is_base_of(NSChild *, NSObj *), "");
17 static_assert(__is_base_of(const volatile NSObj, NSChild), "");
18 static_assert(__is_base_of(NSObj, const volatile NSChild), "");
22 static_assert(!__is_base_of(NSForward, NSObj), "");
23 static_assert(!__is_base_of(NSObj, NSForward), ""); // expected-error{{incomplete type 'NSForward'}}
25 static_assert(!__is_base_of(id, NSObj), "");
/external/llvm-project/clang/test/SemaCXX/
Dtype-traits.cpp1886 int t[T(__is_base_of(Base, Derived))]; in isBaseOfT()
1890 int t[F(__is_base_of(Base, Derived))]; in isBaseOfF()
1898 { int arr[T(__is_base_of(Base, Derived))]; } in is_base_of()
1899 { int arr[T(__is_base_of(const Base, Derived))]; } in is_base_of()
1900 { int arr[F(__is_base_of(Derived, Base))]; } in is_base_of()
1901 { int arr[F(__is_base_of(Derived, int))]; } in is_base_of()
1902 { int arr[T(__is_base_of(Base, Base))]; } in is_base_of()
1903 { int arr[T(__is_base_of(Base, Derived3))]; } in is_base_of()
1904 { int arr[T(__is_base_of(Derived, Derived3))]; } in is_base_of()
1905 { int arr[T(__is_base_of(Derived2b, Derived3))]; } in is_base_of()
[all …]
Dsizeless-1.cpp528 _Static_assert(!__is_base_of(svint8_t, svint8_t), ""); in cxx_only()
/external/clang/test/SemaCXX/
Dtype-traits.cpp1657 int t[T(__is_base_of(Base, Derived))]; in isBaseOfT()
1661 int t[F(__is_base_of(Base, Derived))]; in isBaseOfF()
1669 { int arr[T(__is_base_of(Base, Derived))]; } in is_base_of()
1670 { int arr[T(__is_base_of(const Base, Derived))]; } in is_base_of()
1671 { int arr[F(__is_base_of(Derived, Base))]; } in is_base_of()
1672 { int arr[F(__is_base_of(Derived, int))]; } in is_base_of()
1673 { int arr[T(__is_base_of(Base, Base))]; } in is_base_of()
1674 { int arr[T(__is_base_of(Base, Derived3))]; } in is_base_of()
1675 { int arr[T(__is_base_of(Derived, Derived3))]; } in is_base_of()
1676 { int arr[T(__is_base_of(Derived2b, Derived3))]; } in is_base_of()
[all …]
/external/clang/test/Index/
Dannotate-tokens.cpp4 __is_base_of(bonk, bonk); in test()
/external/llvm-project/clang/test/Index/
Dannotate-tokens.cpp4 __is_base_of(bonk, bonk); in test()
/external/clang/test/PCH/
Dcxx-traits.h24 struct __is_base_of {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp22 bool _is_base_of_result = __is_base_of(int, int);
/external/llvm-project/clang/test/PCH/
Dcxx-traits.h25 struct __is_base_of {}; // expected-warning {{made available}} struct
Dcxx-traits.cpp23 bool _is_base_of_result = __is_base_of(int, int);
/external/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp317 __is_base_of(Types, T); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
318 __is_base_of(T, Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
/external/llvm-project/clang/test/CXX/temp/temp.decls/temp.variadic/
Dp5.cpp317 __is_base_of(Types, T); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
318 __is_base_of(T, Types); // expected-error{{expression contains unexpanded parameter pack 'Types'}} in test_unexpanded_exprs()
/external/clang/include/clang/Basic/
DTokenKinds.def426 TYPE_TRAIT_2(__is_base_of, IsBaseOf, KEYCXX)
/external/llvm-project/clang/include/clang/Basic/
DTokenKinds.def486 TYPE_TRAIT_2(__is_base_of, IsBaseOf, KEYCXX)
/external/clang/lib/Parse/
DParseExpr.cpp804 REVERTIBLE_TYPE_TRAIT(__is_base_of); in ParseCastExpression()
/external/llvm-project/clang/lib/Parse/
DParseExpr.cpp1069 REVERTIBLE_TYPE_TRAIT(__is_base_of); in ParseCastExpression()
/external/llvm-project/clang/docs/
DLanguageExtensions.rst1147 * ``__is_base_of`` (C++, GNU, Microsoft, Embarcadero)
1243 * ``__is_base_of``
/external/clang/docs/
DLanguageExtensions.rst996 * ``__is_base_of`` (GNU, Microsoft)
/external/llvm-project/libcxx/include/
Dtype_traits1726 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
/external/libcxx/include/
Dtype_traits1427 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};