/external/llvm-project/clang/test/SemaObjCXX/ |
D | is-base-of.mm | 9 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/ |
D | type-traits.cpp | 1886 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 …]
|
D | sizeless-1.cpp | 528 _Static_assert(!__is_base_of(svint8_t, svint8_t), ""); in cxx_only()
|
/external/clang/test/SemaCXX/ |
D | type-traits.cpp | 1657 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/ |
D | annotate-tokens.cpp | 4 __is_base_of(bonk, bonk); in test()
|
/external/llvm-project/clang/test/Index/ |
D | annotate-tokens.cpp | 4 __is_base_of(bonk, bonk); in test()
|
/external/clang/test/PCH/ |
D | cxx-traits.h | 24 struct __is_base_of {}; // expected-warning {{made available}} struct
|
D | cxx-traits.cpp | 22 bool _is_base_of_result = __is_base_of(int, int);
|
/external/llvm-project/clang/test/PCH/ |
D | cxx-traits.h | 25 struct __is_base_of {}; // expected-warning {{made available}} struct
|
D | cxx-traits.cpp | 23 bool _is_base_of_result = __is_base_of(int, int);
|
/external/clang/test/CXX/temp/temp.decls/temp.variadic/ |
D | p5.cpp | 317 __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/ |
D | p5.cpp | 317 __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/ |
D | TokenKinds.def | 426 TYPE_TRAIT_2(__is_base_of, IsBaseOf, KEYCXX)
|
/external/llvm-project/clang/include/clang/Basic/ |
D | TokenKinds.def | 486 TYPE_TRAIT_2(__is_base_of, IsBaseOf, KEYCXX)
|
/external/clang/lib/Parse/ |
D | ParseExpr.cpp | 804 REVERTIBLE_TYPE_TRAIT(__is_base_of); in ParseCastExpression()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseExpr.cpp | 1069 REVERTIBLE_TYPE_TRAIT(__is_base_of); in ParseCastExpression()
|
/external/llvm-project/clang/docs/ |
D | LanguageExtensions.rst | 1147 * ``__is_base_of`` (C++, GNU, Microsoft, Embarcadero) 1243 * ``__is_base_of``
|
/external/clang/docs/ |
D | LanguageExtensions.rst | 996 * ``__is_base_of`` (GNU, Microsoft)
|
/external/llvm-project/libcxx/include/ |
D | type_traits | 1726 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
|
/external/libcxx/include/ |
D | type_traits | 1427 : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
|