| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | derived-to-base.cpp | 375 class Derived1 : public Base { class 380 class Derived2 : public Derived1 { 389 Derived1 *d1p = reinterpret_cast<Derived1*>(new Derived2); in testXXX() 402 class Derived1 : public Base { class 408 class Derived2 : public Derived1 { 417 Derived1 *d1p = reinterpret_cast<Derived1*>(new Derived2); in test() 430 class Derived1 : public Base { class 436 class Derived2 : public Derived1 { 445 Derived1 *d1p = new Derived2; in test()
|
| H A D | reinterpret-cast.cpp | 24 class Derived1 : public Base1 {}; class 26 Derived1 *f1();
|
| /llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.derived/ |
| H A D | derived_from.pass.cpp | 18 struct Derived1 : Base1 {}; struct 388 CheckNotDerivedFrom<Derived1, char>(); in main() 399 CheckNotDerivedFrom<Derived1[5], Base1>(); in main() 402 CheckNotDerivedFrom<Derived1, Base1[5]>(); in main() 411 CheckNotDerivedFrom<Base1, Derived1>(); in main() 418 CheckDerivedFrom<Derived1, Base1>(); in main() 419 CheckDerivedFrom<Derived1, Derived1>(); in main() 424 CheckNotDerivedFrom<Derived1, Derived2>(); in main() 425 CheckNotDerivedFrom<Derived1, Derived3>(); in main() 426 CheckNotDerivedFrom<Derived1, Derived4>(); in main() [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | warn-overloaded-virtual.cpp | 89 struct Derived1: virtual Base { struct 96 struct MostDerived: Derived1, Derived2 { 107 struct Derived1: virtual Base { struct 114 struct Derived3: Derived1 {
|
| H A D | composite-pointer-type.cpp | 4 class Derived1 : public Base { }; class 7 void f0(volatile Base *b, Derived1 *d1, const Derived2 *d2) { in f0() 18 void f1(volatile Base *b, Derived1 *d1, const Derived2 *d2) { in f1()
|
| H A D | no_destroy.cpp | 63 struct Derived1 { struct 64 Derived1(int); 68 Derived1 b; argument
|
| H A D | conversion-function.cpp | 338 struct Derived1 : Base { }; struct 342 struct SuperDerived : Derived1, Derived2 { 343 using Derived1::operator int;
|
| H A D | attr-notail.cpp | 12 class Derived1 : public Base { class
|
| H A D | overloaded-builtin-operators.cpp | 178 struct Derived1 : Base { }; struct 186 bool test_with_base_ptrs(ConvertibleToPtrOf<Derived1> d1, in test_with_base_ptrs()
|
| H A D | ms-implicit-complete-dtor.cpp | 44 class Derived1 : virtual Base<1> {}; class
|
| H A D | conditional-expr.cpp | 65 struct Derived1: Abstract { struct 231 …const Abstract &abstract1 = true ? static_cast<const Abstract&>(Derived1()) : Derived2(); // expec… in test() 232 const Abstract &abstract2 = true ? static_cast<const Abstract&>(Derived1()) : throw 3; in test()
|
| H A D | code-seg1.cpp | 21 struct Derived1 : BaseClass1, BaseClass2 {}; struct
|
| /llvm-project-15.0.7/clang/test/SemaTemplate/ |
| H A D | class-template-ctor-initializer.cpp | 67 struct Derived1 : Base { struct 68 Derived1() : Base(1, 2) {} // expected-error {{no matching constructor}} in Derived1() function 76 Derived1<void> d1;
|
| H A D | member-access-ambig.cpp | 20 class Derived1 : public Base { }; class 24 class X : public B, public Derived2, public Derived1
|
| H A D | dependent-names.cpp | 31 template <class T> class Derived1 : Base<T> { class 78 Derived1<int> d1; in test0()
|
| /llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/ |
| H A D | p12.cpp | 79 template <typename T> struct Derived1 : Base { struct 87 Derived1<int> d1; in test0() 114 struct Derived1 : Base { struct 137 …expect<0>(Derived1().foo<int>()); // expected-error {{no matching member function for call to 'foo… in test() 138 expect<2>(Derived1().foo<0>()); in test()
|
| /llvm-project-15.0.7/clang/test/CXX/class.access/ |
| H A D | p4.cpp | 153 class Derived1 : Base<1> { }; class 183 class Derived1 : Base<1> { }; class 210 class Derived1 : Base<1> { }; class 238 class Derived1 : Base<1> { }; class 273 class Derived1 : private Base { // expected-note {{constrained by private inheritance}} class 277 …Private test1(Derived1 &d) { return d; } // expected-error {{'operator Private' is a private membe… in test1() 278 …Public test2(Derived1 &d) { return d; } // expected-error {{'operator Public' is a private member}} in test2()
|
| /llvm-project-15.0.7/clang/test/CXX/except/except.spec/ |
| H A D | p14.cpp | 138 struct Derived1 : Base, X<5> { struct 149 static_assert(noexcept(Derived1(X<0>())), ""); 150 static_assert(!noexcept(Derived1(X<1>())), ""); 151 static_assert(!noexcept(Derived1(X<2>())), "");
|
| /llvm-project-15.0.7/lldb/test/API/lang/cpp/diamond/ |
| H A D | main.cpp | 9 struct Derived1 : public virtual VBase { struct 15 struct Joiner1 : public Derived1, public Derived2 {
|
| /llvm-project-15.0.7/bolt/test/runtime/X86/Inputs/ |
| H A D | retpoline_synthetic.cpp | 12 class Derived1 : public Base { class 32 Base *obj1 = new Derived1(); in main()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | guard_nocf.cpp | 74 struct Derived1 : Base1 { struct 79 Derived1 d1; argument
|
| H A D | ubsan-devirtualized-calls.cpp | 11 struct Derived1 final : Base1 { struct 37 Derived1 d1; in t1()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-records.cpp | 259 struct Derived1 : Base1 { struct
|
| H A D | ast-dump-records-json.cpp | 68 struct Derived1 : Base1 { struct
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/ |
| H A D | confusable-identifiers.cpp | 99 struct Derived1 : Base1 { struct
|