Searched refs:B_ptr (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | address-space-conversion.cpp | 21 typedef B *B_ptr; typedef 52 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_static_cast() 59 (void)static_cast<B_ptr>(ap); in test_static_cast() 80 (void)static_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}} in test_static_cast() 81 (void)static_cast<B_ptr>(ap2); // expected-error{{casts away qualifiers}} in test_static_cast() 103 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2) { in test_dynamic_cast() 110 (void)dynamic_cast<B_ptr>(ap); in test_dynamic_cast() 123 (void)dynamic_cast<B_ptr>(ap1); // expected-error{{casts away qualifiers}} in test_dynamic_cast() 133 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_reinterpret_cast() 159 B_ptr bp, B_ptr_1 bp1, B_ptr_2 bp2, in test_cstyle_cast() [all …]
|
| /llvm-project-15.0.7/clang/test/CXX/drs/ |
| H A D | dr2xx.cpp | 483 B* B_ptr = &D_object; variable 489 B_ptr->~B(); in f() 490 B_ptr->~B_alias(); in f() 491 B_ptr->B_alias::~B(); in f() 492 B_ptr->B_alias::~B_alias(); in f() 498 void f(T *B_ptr, U D_object) { in f() argument 502 B_ptr->~B(); in f() 503 B_ptr->~B_alias(); in f() 504 B_ptr->B_alias::~B(); in f() 505 B_ptr->B_alias::~B_alias(); in f() [all …]
|