Home
last modified time | relevance | path

Searched refs:Base (Results 1 – 25 of 1390) sorted by relevance

12345678910>>...56

/llvm-project-15.0.7/libcxxabi/test/
H A Dcatch_pointer_reference.pass.cpp34 struct Base {}; struct
127 assert_catches< Base * , Base *, Derived>(); in f2()
128 assert_catches<const Base * , Base *, Derived>(); in f2()
129 assert_catches< volatile Base * , Base *, Derived>(); in f2()
130 assert_catches<const volatile Base * , Base *, Derived>(); in f2()
131 assert_catches< Base * const , Base *, Derived>(); in f2()
132 assert_catches<const Base * const , Base *, Derived>(); in f2()
133 assert_catches< volatile Base * const , Base *, Derived>(); in f2()
134 assert_catches<const volatile Base * const , Base *, Derived>(); in f2()
135 assert_catches< Base * volatile, Base *, Derived>(); in f2()
[all …]
/llvm-project-15.0.7/clang/test/CXX/dcl.decl/dcl.init/dcl.init.ref/
H A Dp5-var.cpp5 struct Base { }; struct
11 struct Derived2 : Base { };
15 operator Base&() const;
32 operator Base() const;
56 Base &br1 = b; in bind_lvalue_to_lvalue()
57 Base &br2 = d; in bind_lvalue_to_lvalue()
70 volatile Base &bvr1 = b; in bind_lvalue_quals()
71 volatile Base &bvr2 = d; in bind_lvalue_quals()
77 const volatile Base &bcvr1 = b; in bind_lvalue_quals()
119 const Base &br1 = create<Base>(); in bind_const_lvalue_to_rvalue()
[all …]
/llvm-project-15.0.7/clang/test/CXX/class.access/class.access.base/
H A Dp1.cpp10 class Base { class
25 Base::pub++; in test()
26 Base::spub++; in test()
27 Base::prot++; in test()
28 Base::sprot++; in test()
42 t->Base::pub++; in test()
43 t->Base::spub++; in test()
74 Base::pub++; in test()
75 Base::spub++; in test()
76 Base::prot++; in test()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_ilist.h27 template <typename Base, INode Base::*Node, typename Elem>
41 template <typename Base, INode Base::*Node, typename Elem = Base>
76 template <typename Base, INode Base::*Node, typename Elem>
81 template <typename Base, INode Base::*Node, typename Elem>
86 template <typename Base, INode Base::*Node, typename Elem>
91 template <typename Base, INode Base::*Node, typename Elem>
104 template <typename Base, INode Base::*Node, typename Elem>
118 template <typename Base, INode Base::*Node, typename Elem>
126 template <typename Base, INode Base::*Node, typename Elem>
134 template <typename Base, INode Base::*Node, typename Elem>
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_ilist.h27 template <typename Base, INode Base::*Node, typename Elem>
41 template <typename Base, INode Base::*Node, typename Elem = Base>
76 template <typename Base, INode Base::*Node, typename Elem>
81 template <typename Base, INode Base::*Node, typename Elem>
86 template <typename Base, INode Base::*Node, typename Elem>
91 template <typename Base, INode Base::*Node, typename Elem>
104 template <typename Base, INode Base::*Node, typename Elem>
118 template <typename Base, INode Base::*Node, typename Elem>
126 template <typename Base, INode Base::*Node, typename Elem>
134 template <typename Base, INode Base::*Node, typename Elem>
[all …]
/llvm-project-15.0.7/llvm/test/Demangle/
H A Dms-operators.test5 ??0Base@@QEAA@XZ
6 ; CHECK: __cdecl Base::Base(void)
8 ??1Base@@UEAA@XZ
9 ; CHECK: virtual __cdecl Base::~Base(void)
17 ??4Base@@QEAAHH@Z
20 ??6Base@@QEAAHH@Z
23 ??5Base@@QEAAHH@Z
26 ??7Base@@QEAAHXZ
29 ??8Base@@QEAAHH@Z
32 ??9Base@@QEAAHH@Z
[all …]
/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DPointer.h63 return Pointer(Pointee, Base, Base + Off); in atIndex()
91 if (Offset != Base) in narrow()
97 if (Offset != Base) in narrow()
117 return Pointer(Pointee, Base, Base + getSize() + Adjust); in expand()
121 if (Base != Offset) in expand()
125 if (Base == 0) in expand()
141 bool isField() const { return Base != 0 && Base != RootPtrMark; } in isField()
164 return Pointer(Pointee, Base, Base); in getArray()
169 if (Base == 0 || Base == RootPtrMark) in getFieldDesc()
214 return (Base == 0 || Base == RootPtrMark) && Offset == 0; in isRoot()
[all …]
H A DPointer.cpp22 : Pointee(P.Pointee), Base(P.Base), Offset(P.Offset) { in Pointer()
28 : Pointee(Pointee), Base(Base), Offset(Offset) { in Pointer()
29 assert((Base == RootPtrMark || Base % alignof(void *) == 0) && "wrong base"); in Pointer()
48 Base = P.Base; in operator =()
65 Base = P.Base; in operator =()
76 APValue::LValueBase Base; in toAPValue() local
83 Base = static_cast<const Expr *>(nullptr); in toAPValue()
91 Base = VD; in toAPValue()
93 Base = E; in toAPValue()
150 return Base == 0 || getInlineDesc()->IsInitialized; in isInitialized()
[all …]
/llvm-project-15.0.7/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp12.cpp29 struct Base { struct
37 using Base::foo;
51 using Base::foo;
62 using Base::foo;
75 struct Base { struct
80 using Base::foo;
95 using Base::foo;
109 struct Base { struct
150 class Base { class
169 struct Base { struct
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/PhaseOrdering/
H A Dgdce.ll13 %class.Base = type { i32 (...)** }
37 store %class.Base* %this, %class.Base** %this.addr, align 8
38 %this1 = load %class.Base*, %class.Base** %this.addr
46 store %class.Base* %this, %class.Base** %this.addr, align 8
47 %this1 = load %class.Base*, %class.Base** %this.addr
55 store %class.Base* %this, %class.Base** %this.addr, align 8
56 %this1 = load %class.Base*, %class.Base** %this.addr
63 store %class.Base* %this, %class.Base** %this.addr, align 8
64 %this1 = load %class.Base*, %class.Base** %this.addr
75 store %class.Base* %this, %class.Base** %this.addr, align 8
[all …]
/llvm-project-15.0.7/libcxx/test/std/concepts/concepts.lang/concept.assignable/
H A Dassignable_from.compile.pass.cpp32 struct Base {}; struct
33 struct Derived : Base {};
34 static_assert(!std::assignable_from<Base*, Derived*>);
35 static_assert( std::assignable_from<Base*&, Derived*>);
36 static_assert( std::assignable_from<Base*&, Derived*&>);
37 static_assert( std::assignable_from<Base*&, Derived*&&>);
38 static_assert( std::assignable_from<Base*&, Derived* const>);
39 static_assert( std::assignable_from<Base*&, Derived* const&>);
41 static_assert(!std::assignable_from<Base*&, const Derived*>);
42 static_assert(!std::assignable_from<Base*&, const Derived*&>);
[all …]
/llvm-project-15.0.7/clang/test/CXX/class.access/
H A Dp4.cpp146 template <unsigned N> class Base { ~Base(); }; // expected-note 14 {{declared private here}} class
153 class Derived1 : Base<1> { };
176 template <unsigned N> class Base { ~Base(); }; // expected-note 14 {{declared private here}} class
183 class Derived1 : Base<1> { };
204 template <unsigned N> class Base { ~Base(); }; // expected-note 4{{declared private here}} class
210 class Derived1 : Base<1> { };
224 virtual Base<1>,
230 template <unsigned N> class Base { ~Base(); }; // expected-note 6{{declared private here}} class
238 class Derived1 : Base<1> { };
254 virtual Base<1>,
[all …]
/llvm-project-15.0.7/flang/test/Semantics/
H A Ddoconcurrent08.f906 type :: Base type
11 type, extends(Base) :: ChildType
16 type, extends(Base) :: HasAllocPolyType
31 type, extends(Base) :: HasPointerPolyType
35 class(Base), allocatable :: baseVar1
36 type(Base) :: baseVar2
113 class(Base), allocatable :: localVar
114 class(Base), allocatable :: localVar1
115 type(Base), allocatable :: localVar2
130 allocate(Base :: localVar2)
[all …]
/llvm-project-15.0.7/libcxx/test/libcxx/input.output/filesystems/
H A Dconvert_file_time.pass.cpp74 : public Base {
79 using Base::max_nsec;
80 using Base::max_seconds;
82 using Base::min_seconds;
144 : public Base {
148 using Base::max_nsec;
149 using Base::max_seconds;
151 using Base::min_seconds;
213 : public Base {
219 using Base::max_nsec;
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DEnvironment.h42 using Base::iterator;
45 using Base::begin;
46 using Base::clear;
47 using Base::count;
48 using Base::empty;
49 using Base::end;
50 using Base::erase;
51 using Base::find;
52 using Base::insert;
54 using Base::lookup;
[all …]
/llvm-project-15.0.7/libcxx/test/support/
H A Darchetypes.ipp47 using Base::Base;
67 using Base::Base;
74 using Base::Base;
83 using Base::Base;
92 using Base::Base;
103 using Base::Base;
112 using Base::Base;
121 using Base::Base;
129 using Base::Base;
138 using Base::Base;
[all …]
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines/
H A Dpro-type-static-cast-downcast.cpp3 class Base { class
6 class Derived : public Base {
12 class MultiDerived : public Base, public Base2 {
23 class PolymorphicMultiDerived : public Base, public PolymorphicBase {
28 auto P0 = static_cast<Derived*>(new Base()); in pointers()
31 const Base* B0; in pointers()
58 Base ArrayOfBase[10]; in arrays()
71 Base B0; in references()
74 Base& RefToBase = B0; in references()
78 const Base& ConstRefToBase = B0; in references()
[all …]
H A Dpro-type-cstyle-cast.cpp26 class Base { class
29 class Derived : public Base {
35 class MultiDerived : public Base, public Base2 {
51 auto P0 = (Derived*)new Base(); in pointers()
54 const Base* B0; in pointers()
81 Base ArrayOfBase[10]; in arrays()
94 Base B0; in references()
97 Base& RefToBase = B0; in references()
101 const Base& ConstRefToBase = B0; in references()
107 auto R2 = (Base&)RD1; // OK, upcast to a public base in references()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineDominanceFrontier.h41 return Base.getRoots(); in getRoots()
45 return Base.getRoot(); in getRoot()
49 return Base.isPostDominator(); in isPostDominator()
53 return Base.begin(); in begin()
57 return Base.begin(); in begin()
61 return Base.end(); in end()
65 return Base.end(); in end()
69 return Base.find(B); in find()
73 return Base.find(B); in find()
81 return Base.removeBlock(BB); in removeBlock()
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DVTTBuilder.cpp46 assert(!SecondaryVirtualPointerIndices.count(Base) && in AddVTablePointer()
60 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVTTs()
71 CharUnits BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVTTs()
85 const CXXRecordDecl *RD = Base.getBase(); in LayoutSecondaryVirtualPointers()
119 BaseOffset = Base.getBaseOffset() + in LayoutSecondaryVirtualPointers()
180 const CXXRecordDecl *RD = Base.getBase(); in LayoutVTT()
192 SubVTTIndicies[Base] = VTTComponents.size(); in LayoutVTT()
199 AddVTablePointer(Base, VTableIndex, RD); in LayoutVTT()
202 LayoutSecondaryVTTs(Base); in LayoutVTT()
205 LayoutSecondaryVirtualPointers(Base, VTableIndex); in LayoutVTT()
[all …]
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx11-inheriting-ctors.cpp25 struct Base { struct
26 Base(int) {} in Base() function
29 Base(T) {} in Base() argument
32 struct Test : Base {
33 using Base::Base;
37 struct Test2 : Base {
38 using Base::Base;
53 Test3<Base> test3a(42);
54 Test3<Base> test3b(nullptr);
65 Test3<Base> retest3a(42);
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dattr-callback.cpp3 struct Base { struct
15 this_unknown_this(void (*callback)(Base *, Base *, Base *));
20 Base::no_args_1(void (*callback)(void)) { in no_args_1()
24 __attribute__((callback(2))) void Base::no_args_2(void (*callback1)(void), void (*callback2)(void))… in no_args_2()
27 __attribute__((callback(callback2))) void Base::no_args_3(void (*callback1)(void), void (*callback2… in no_args_3()
31 void Base::this_unknown_this(void (*callback)(Base *, Base *, Base *)) { in this_unknown_this() argument
34 struct Derived_1 : public Base {
42 struct Derived_2 : public Base {
/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dtemp.cpp14 template<typename T> struct Derived : A::Base<char>, B::Base<int> {
15 …typename Derived::Base<float>::t x; // expected-error {{found in multiple base classes of differen…
18 class X : A::Base<int> {}; // expected-note 2{{private}}
19 class Y : A::Base<float> {};
20 struct Z : A::Base<double> {};
22 Base<double> b1; // expected-error {{private}}
23 Use1::Base<double> b2; // expected-error {{private}}
26 Base<double> b1;
27 Use2::Base<double> b2;
30 Base<double> b1;
[all …]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconditional-expr.cpp23 struct Base { struct
28 struct Derived : Base {
33 struct Mid : Base {};
103 Base base; in test()
129 i1 = (i1 ? Base() : Base()).trick(); in test()
130 i1 = (i1 ? Base() : Base()).trick(); in test()
185 Base *pb = i1 ? (Base*)0 : (Derived*)0; in test()
390 struct Base {}; struct
391 struct Derived : Base {};
392 Base b;
[all …]
/llvm-project-15.0.7/clang/test/CXX/conv/conv.mem/
H A Dp4.cpp3 struct Base { struct
7 int (Base::*data_ptr) = &Base::data; argument
8 int (Base::*method_ptr)() = &Base::method;
11 struct Derived : Base {};
20 struct Derived : private Base {}; // expected-note 2 {{declared private here}}
29 struct A : Base {};
30 struct B : Base {};
40 struct Derived : virtual Base {};
49 struct A : Base {};
50 …struct Derived : Base, virtual A {}; // expected-warning {{direct base 'Base' is inaccessible due…
[all …]

12345678910>>...56