Home
last modified time | relevance | path

Searched refs:Derived1 (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang/test/Analysis/
H A Dderived-to-base.cpp375 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 Dreinterpret-cast.cpp24 class Derived1 : public Base1 {}; class
26 Derived1 *f1();
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.derived/
H A Dderived_from.pass.cpp18 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 Dwarn-overloaded-virtual.cpp89 struct Derived1: virtual Base { struct
96 struct MostDerived: Derived1, Derived2 {
107 struct Derived1: virtual Base { struct
114 struct Derived3: Derived1 {
H A Dcomposite-pointer-type.cpp4 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 Dno_destroy.cpp63 struct Derived1 { struct
64 Derived1(int);
68 Derived1 b; argument
H A Dconversion-function.cpp338 struct Derived1 : Base { }; struct
342 struct SuperDerived : Derived1, Derived2 {
343 using Derived1::operator int;
H A Dattr-notail.cpp12 class Derived1 : public Base { class
H A Doverloaded-builtin-operators.cpp178 struct Derived1 : Base { }; struct
186 bool test_with_base_ptrs(ConvertibleToPtrOf<Derived1> d1, in test_with_base_ptrs()
H A Dms-implicit-complete-dtor.cpp44 class Derived1 : virtual Base<1> {}; class
H A Dconditional-expr.cpp65 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 Dcode-seg1.cpp21 struct Derived1 : BaseClass1, BaseClass2 {}; struct
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dclass-template-ctor-initializer.cpp67 struct Derived1 : Base { struct
68 Derived1() : Base(1, 2) {} // expected-error {{no matching constructor}} in Derived1() function
76 Derived1<void> d1;
H A Dmember-access-ambig.cpp20 class Derived1 : public Base { }; class
24 class X : public B, public Derived2, public Derived1
H A Ddependent-names.cpp31 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 Dp12.cpp79 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 Dp4.cpp153 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 Dp14.cpp138 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 Dmain.cpp9 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 Dretpoline_synthetic.cpp12 class Derived1 : public Base { class
32 Base *obj1 = new Derived1(); in main()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dguard_nocf.cpp74 struct Derived1 : Base1 { struct
79 Derived1 d1; argument
H A Dubsan-devirtualized-calls.cpp11 struct Derived1 final : Base1 { struct
37 Derived1 d1; in t1()
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-records.cpp259 struct Derived1 : Base1 { struct
H A Dast-dump-records-json.cpp68 struct Derived1 : Base1 { struct
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/misc/
H A Dconfusable-identifiers.cpp99 struct Derived1 : Base1 { struct

12