Home
last modified time | relevance | path

Searched refs:Base1 (Results 1 – 25 of 90) sorted by relevance

1234

/external/llvm-project/clang/test/CodeGenCXX/
Dubsan-devirtualized-calls.cpp3 struct Base1 { struct
11 struct Derived1 final : Base1 { argument
15 struct Derived2 final : Base1, Base2 {
19 struct Derived3 : Base1 {
23 struct Derived4 final : Base1 {
38 static_cast<Base1 *>(&d1)->f1(); //< Devirt Base1::f1 to Derived1::f1. in t1()
46 static_cast<Base1 *>(&d2)->f1(); //< Devirt Base1::f1 to Derived2::f1. in t2()
61 Base1 p; in t4()
66 static_cast<Base1 *>(badp)->f1(); //< No devirt, test 'badp isa Base1'. in t4()
78 Base1 p; in t5()
[all …]
Dhomogeneous-aggregates.cpp14 struct Base1 { struct
23 struct D1 : Base1 { // non-homogeneous aggregate argument
29 struct D3 : Base1, Base2 { // non-homogeneous aggregate
/external/clang/test/Parser/
Dcxx-invalid-function-decl.cpp18 struct Base1 { struct
20 Base1(T a1) : x1(a1) {} in Base1() function
29 struct S : public Base1<int>, public Base2<float> {
33 …S() : ::Base1<int>(0) ::new, ::Base2<float>(1.0) ::delete x(2) {} // expected-error{{expected clas… in S()
37 …S(int a) : Base1<int>(a), ::Base2<float>(1.0), ::, // expected-error{{expected class member or bas… in S()
41 …S(const S &) : Base1<int>(0) ::Base2<float>(1.0) x(2) {} // expected-error2{{missing ',' between b… in S()
/external/llvm-project/clang/test/Parser/
Dcxx-invalid-function-decl.cpp18 struct Base1 { struct
20 Base1(T a1) : x1(a1) {} in Base1() argument
29 struct S : public Base1<int>, public Base2<float> {
33 …S() : ::Base1<int>(0) ::new, ::Base2<float>(1.0) ::delete x(2) {} // expected-error{{expected clas… in S()
37 …S(int a) : Base1<int>(a), ::Base2<float>(1.0), ::, // expected-error{{expected class member or bas… in S()
41 …S(const S &) : Base1<int>(0) ::Base2<float>(1.0) x(2) {} // expected-error2{{missing ',' between b… in S()
/external/llvm-project/clang/test/AST/
Dast-dump-records-json.cpp64 struct Base1 {}; struct
68 struct Derived1 : Base1 {
71 struct Derived2 : private Base1 {
74 struct Derived3 : virtual Base1 {
77 struct Derived4 : Base1, virtual Base2, protected Base3 {
80 struct Derived5 : protected virtual Base1 {
Dast-dump-records.cpp255 struct Base1 {}; struct
259 struct Derived1 : Base1 {
264 struct Derived2 : private Base1 {
269 struct Derived3 : virtual Base1 {
274 struct Derived4 : Base1, virtual Base2, protected Base3 {
281 struct Derived5 : protected virtual Base1 {
/external/clang/test/CodeCompletion/
Dctor-initializer.cpp1 struct Base1 { struct
2 Base1() : {} in Base1() argument
7 Base1(int) : member1(123), {} in Base1() function
16 struct Derived : public Base1 { argument
35 Derived::Derived(float) try : Base1(), in Derived()
Dmember-access.cpp1 struct Base1 { struct
12 struct Base3 : Base1, Base2 { argument
/external/llvm-project/clang/test/Frontend/
Dplugin-call-super.cpp6 struct Base1 { struct
12 struct Derive : public Base1, public Base2 { argument
21 Base1::Test(); in Test()
29 struct Derive2 : public Base1, public Base2 {
31 Base1::Test(); in Test()
/external/llvm-project/clang/test/SemaCXX/
DMicrosoftSuper.cpp16 struct Base1 { struct
24 struct Derived : Base1 { argument
48 struct Inner : Base1 {
57 struct MemberFunctionInMultipleBases : Base1, Base2 {
74 struct PointerToMember : Base1 {
75 template <void (Base1::*MP)(int)>
147 DerivedFromTemplateParameter<Base1> t; in instantiate()
Dcode-seg.cpp24 struct __declspec(code_seg("my_base")) Base1 {}; struct
27 struct D1 : Base1 {};
30 struct __declspec(code_seg("my_derived")) D2 : Base1 {};
39 MB<Base1> mb1; // ok
44 MD<Base1> md1;
Dcode-seg1.cpp4 struct __declspec(code_seg("my_base")) Base1 {}; struct
7 struct D1 : Base1, Base2 {};
11 struct __declspec(code_seg("my_derived")) D2 : Base2, Base1 {};
/external/clang/test/SemaCXX/
DMicrosoftSuper.cpp16 struct Base1 { struct
24 struct Derived : Base1 { argument
48 struct Inner : Base1 {
57 struct MemberFunctionInMultipleBases : Base1, Base2 {
74 struct PointerToMember : Base1 {
75 template <void (Base1::*MP)(int)>
147 DerivedFromTemplateParameter<Base1> t; in instantiate()
/external/llvm-project/clang/test/CodeCompletion/
Dctor-initializer.cpp1 struct Base1 { struct
2 Base1() : {} in Base1() function
8 Base1(int) : member1(123), {} in Base1() argument
18 struct Derived : public Base1 { argument
38 Derived::Derived(float) try : Base1(), in Derived()
Dmember-access.cpp1 struct Base1 { struct
12 struct Base3 : Base1, Base2 { argument
35 Base1 b;
82 class TemplateClass: public Base1 , public BaseTemplate<T> {
/external/llvm-project/lldb/test/API/lang/cpp/multiple-inheritance/
Dmain.cpp11 struct Base1 : CommonBase { struct
13 Base1() { in Base1() argument
35 struct FinalClass : Base1, Base2 { argument
50 C.Base1::func_base(); in main()
/external/clang/test/CXX/class/class.mem/
Dp8-0x.cpp3 struct Base1 { struct
7 struct A : Base1 {
31 struct Base1 { struct
35 struct A : Base1 {
/external/llvm-project/clang/test/CXX/class/class.mem/
Dp8-0x.cpp3 struct Base1 { struct
7 struct A : Base1 {
31 struct Base1 { struct
35 struct A : Base1 {
/external/llvm-project/llvm/test/DebugInfo/PDB/Inputs/
Devery-function.cpp45 struct Base1 { struct
46 virtual ~Base1() {} in ~Base1() argument
49 struct Base2 : public virtual Base1 { };
51 struct Derived : public virtual Base1, public Base2 {
/external/python/pybind11/tests/
Dtest_multiple_inheritance.py20 class Base1: class
27 class MITypePy(Base1, m.Base2):
29 Base1.__init__(self, i)
46 class MITypePy(m.Base1, Base2):
48 m.Base1.__init__(self, i)
60 class MI1(m.Base1, m.Base2):
62 m.Base1.__init__(self, i)
69 class MI2(B1, m.Base1, m.Base2):
72 m.Base1.__init__(self, i)
85 class MI5(m.Base2, B1, m.Base1):
[all …]
Dtest_multiple_inheritance.cpp50 struct Base1 { in TEST_SUBMODULE() struct
51 Base1(int i) : i(i) { } in TEST_SUBMODULE() argument
55 py::class_<Base1> b1(m, "Base1"); in TEST_SUBMODULE()
57 .def("foo", &Base1::foo); in TEST_SUBMODULE()
70 struct Base12 : Base1, Base2 { in TEST_SUBMODULE()
71 Base12(int i, int j) : Base1(i), Base2(j) { } in TEST_SUBMODULE()
76 py::class_<Base12, Base1, Base2>(m, "Base12"); in TEST_SUBMODULE()
/external/clang/test/CodeGenCXX/
Dhomogeneous-aggregates.cpp14 struct Base1 { struct
23 struct D1 : Base1 { // non-homogeneous aggregate argument
29 struct D3 : Base1, Base2 { // non-homogeneous aggregate
/external/clang/test/Analysis/
Dreinterpret-cast.cpp23 class Base1 {}; class
24 class Derived1 : public Base1 {};
35 Base1 *v; in f3()
/external/llvm-project/clang/test/Analysis/
Dreinterpret-cast.cpp23 class Base1 {}; class
24 class Derived1 : public Base1 {};
35 Base1 *v; in f3()
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dfuchsia-multiple-inheritance.cpp90 struct Base1 { virtual void foo() = 0; }; struct
91 struct V1 : virtual Base1 {};
92 struct V2 : virtual Base1 {};

1234