| /llvm-project-15.0.7/clang/test/PCH/ |
| H A D | cxx-typeid.h | 8 class type_info 11 virtual ~type_info(); 13 bool operator==(const type_info& rhs) const; 14 bool operator!=(const type_info& rhs) const; 16 bool before(const type_info& rhs) const; 20 type_info(const type_info& rhs); 21 type_info& operator=(const type_info& rhs);
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | microsoft-abi-typeid.cpp | 3 struct type_info; 4 namespace std { using ::type_info; } 14 const std::type_info* test0_typeid() { return &typeid(int); } in test0_typeid() 18 const std::type_info* test1_typeid() { return &typeid(A); } in test1_typeid() 22 const std::type_info* test2_typeid() { return &typeid(&a); } in test2_typeid() 26 const std::type_info* test3_typeid() { return &typeid(*fn()); } in test3_typeid() 43 const std::type_info* test4_typeid() { return &typeid(b); } in test4_typeid() 47 const std::type_info* test5_typeid() { return &typeid(v); } in test5_typeid() 51 const std::type_info *test6_typeid() { return &typeid((V &)v); } in test6_typeid()
|
| H A D | typeid.cpp | 10 const std::type_info &int_ti = typeid(int); 13 const std::type_info &A_ti = typeid(const volatile A &); 18 const std::type_info &c_ti = typeid(c); 23 const std::type_info &d_ti = typeid(d); 28 const std::type_info &a_ti = typeid(a); 31 const std::type_info &A10_c_ti = typeid(char const[10]);
|
| H A D | visibility-ms-compat.cpp | 15 class type_info; 28 const std::type_info &ti = typeid(A); 44 const std::type_info &ti = typeid(A); 60 const std::type_info &ti = typeid(A); 77 const std::type_info &ti = typeid(B<A>); 93 const std::type_info &ti = typeid(B<A>); 109 const std::type_info &ti = typeid(B<A>);
|
| H A D | arm64.cpp | 38 class type_info; 52 const std::type_info &b0 = typeid(B); 56 const std::type_info &b1 = typeid(B*); 61 const std::type_info &c0 = typeid(C); 65 const std::type_info &c1 = typeid(C*); 73 const std::type_info &d0 = typeid(D<int>);
|
| H A D | typeinfo | 2 class type_info { 4 virtual ~type_info(); 6 bool operator==(const type_info& __arg) const { 10 bool operator!=(const type_info& __arg) const {
|
| H A D | armv7k.cpp | 41 class type_info; 54 const std::type_info &b0 = typeid(B); 58 const std::type_info &b1 = typeid(B*); 63 const std::type_info &c0 = typeid(C);
|
| H A D | 2006-03-06-C++RecurseCrash.cpp | 5 class type_info { class 7 virtual ~type_info(); 13 class __si_class_type_info : public std::type_info {
|
| H A D | microsoft-no-rtti-data.cpp | 7 struct type_info; 8 namespace std { using ::type_info; } 20 const std::type_info &ti = typeid(*getS());
|
| /llvm-project-15.0.7/libcxxabi/test/ |
| H A D | incomplete_type.sh.cpp | 35 AssertIncompleteTypeInfoEquals(std::type_info const& LHS, std::type_info const& RHS) in AssertIncompleteTypeInfoEquals() 43 std::type_info const& ReturnTypeInfoNeverDefinedMP(); 49 std::type_info const& ReturnTypeInfoIncompleteMP(); 50 std::type_info const& ReturnTypeInfoIncompletePP(); 56 std::type_info const& ReturnTypeInfoCompleteMP(); 57 std::type_info const& ReturnTypeInfoCompletePP(); 64 std::type_info const& ReturnTypeInfoNeverDefinedMP() { return typeid(int NeverDefined::*); } in ReturnTypeInfoNeverDefinedMP() 69 std::type_info const& ReturnTypeInfoIncompleteMP() { return typeid(int IncompleteAtThrow::*); } in ReturnTypeInfoIncompleteMP() 70 std::type_info const& ReturnTypeInfoIncompletePP() { return typeid(IncompleteAtThrow**); } in ReturnTypeInfoIncompletePP() 76 std::type_info const& ReturnTypeInfoCompleteMP() { return typeid(int CompleteAtThrow::*); } in ReturnTypeInfoCompleteMP() [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGenObjCXX/ |
| H A D | rtti.mm | 5 namespace std { class type_info; } 26 const std::type_info &t1 = typeid(B*); 27 const std::type_info &t2 = typeid(B); 32 const std::type_info &t3 = typeid(i); 33 const std::type_info &t4 = typeid(*i); 38 const std::type_info &t5 = typeid(c); 39 const std::type_info &t6 = typeid(*c); 44 const std::type_info &t7 = typeid(i2); 45 const std::type_info &t8 = typeid(*i2); 50 const std::type_info &t9 = typeid(c2); [all …]
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | typeinfo | 19 class type_info 22 virtual ~type_info(); 31 type_info(const type_info& rhs) = delete; 32 type_info& operator=(const type_info& rhs) = delete; 85 class _LIBCPP_EXCEPTION_ABI type_info 87 type_info& operator=(const type_info&); 88 type_info(const type_info&); 99 virtual ~type_info(); 300 type_info& operator=(const type_info&); 301 type_info(const type_info&); [all …]
|
| /llvm-project-15.0.7/libcxx/src/ |
| H A D | typeinfo.cpp | 15 int std::type_info::__compare(const type_info &__rhs) const noexcept { in __compare() 21 const char *std::type_info::name() const noexcept { in name() 26 size_t std::type_info::hash_code() const noexcept { in hash_code() 55 std::type_info::~type_info() in ~type_info()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-expr-json.cpp | 6 class type_info { class 8 virtual ~type_info(); 9 bool operator==(const type_info& rhs) const noexcept; 10 bool operator!=(const type_info& rhs) const noexcept; 11 type_info(const type_info& rhs) = delete; // cannot be copied 12 type_info& operator=(const type_info& rhs) = delete; // cannot be copied
|
| H A D | ast-dump-expr.cpp | 15 class type_info { class 17 virtual ~type_info(); 18 bool operator==(const type_info& rhs) const noexcept; 19 bool operator!=(const type_info& rhs) const noexcept; 20 type_info(const type_info& rhs) = delete; // cannot be copied 21 type_info& operator=(const type_info& rhs) = delete; // cannot be copied
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.lambda/ |
| H A D | p2.cpp | 10 class type_info; 19 const std::type_info &ti1 = typeid([&]() -> P& { return p; }()); in unevaluated_operand() 20 …const std::type_info &ti2 = typeid([&]() -> int { return i; }()); // expected-error{{lambda expre… in unevaluated_operand() 34 const std::type_info &ti1 in odr_used() 39 const std::type_info &ti2 in odr_used()
|
| H A D | p2-generic-lambda-1y.cpp | 10 class type_info; 21 …const std::type_info &ti1 = typeid([](auto &a) -> P& { static P p; return p; }(i)); // expected-wa… in unevaluated_operand() 22 …const std::type_info &ti2 = typeid([](auto) -> int { return i; }(i)); // expected-er… in unevaluated_operand()
|
| /llvm-project-15.0.7/libcxx/test/std/language.support/support.rtti/type.info/ |
| H A D | type_info.pass.cpp | 20 bool test_constructor_explicit(std::type_info const&) { return false; } in test_constructor_explicit() 26 const std::type_info& t1 = typeid(int); in main() 27 const std::type_info& t2 = typeid(int); in main() 29 const std::type_info& t3 = typeid(short); in main()
|
| H A D | type_info_hash.pass.cpp | 21 const std::type_info& t1 = typeid(int); in main() 22 const std::type_info& t2 = typeid(int); in main() 23 const std::type_info& t3 = typeid(short); in main()
|
| /llvm-project-15.0.7/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
| H A D | p12-0x.cpp | 25 class type_info; 28 const std::type_info& k = typeid(S::m); 29 const std::type_info& m = typeid(*(Poly*)S::m); // expected-error {{invalid use of non-static data … 30 const std::type_info& n = typeid(*(Poly*)(0*sizeof S::m));
|
| /llvm-project-15.0.7/compiler-rt/lib/ubsan/ |
| H A D | ubsan_type_hash_win.cpp | 35 std::type_info *rtti_addr; 61 std::type_info *tinfo; in getDynamicTypeInfoFromVtable() 64 tinfo = (std::type_info *)(image_base + obj_locator->rtti_addr); in getDynamicTypeInfoFromVtable() 71 if (!IsAccessibleMemoryRange((uptr)tinfo, sizeof(std::type_info))) in getDynamicTypeInfoFromVtable()
|
| H A D | ubsan_type_hash_itanium.cpp | 26 class type_info { class 28 virtual ~type_info(); 38 class __class_type_info : public std::type_info { 195 std::type_info *TypeInfo; 263 auto TI1 = static_cast<const std::type_info *>(TypeInfo1); in checkTypeInfoEquality() 264 auto TI2 = static_cast<const std::type_info *>(TypeInfo2); in checkTypeInfoEquality()
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-infinite-recursion.cpp | 176 class type_info { class 178 virtual ~type_info(); 180 bool operator==(const type_info &__arg) const { in operator ==() 184 bool operator!=(const type_info &__arg) const { in operator !=()
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ |
| H A D | ItaniumABILanguageRuntime.cpp | 68 TypeAndOrName type_info = GetDynamicTypeInfo(vtable_addr); in GetTypeInfoFromVTableAddress() local 69 if (type_info) in GetTypeInfoFromVTableAddress() 70 return type_info; in GetTypeInfoFromVTableAddress() 93 type_info.SetName(class_name); in GetTypeInfoFromVTableAddress() 129 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress() 161 type_info.SetTypeSP(type_sp); in GetTypeInfoFromVTableAddress() 174 if (type_info) in GetTypeInfoFromVTableAddress() 175 SetDynamicTypeInfo(vtable_addr, type_info); in GetTypeInfoFromVTableAddress() 176 return type_info; in GetTypeInfoFromVTableAddress() 600 const lldb_private::Address &vtable_addr, const TypeAndOrName &type_info) { in SetDynamicTypeInfo() argument [all …]
|
| /llvm-project-15.0.7/clang/test/ASTMerge/APValue/ |
| H A D | APValue.cpp | 248 struct type_info; 433 consteval const std::type_info *ftype_info() { in ftype_info() 437 const std::type_info *T1 = ftype_info(); 442 consteval const std::type_info *ftype_info2() { in ftype_info2() 446 const std::type_info *T2 = ftype_info2();
|