Searched refs:VBase (Results 1 - 18 of 18) sorted by relevance

/external/clang/test/CodeGenCXX/
H A Dconstructors.cpp4 struct VBase { int x; VBase(); VBase(int); VBase(const VBase &); }; struct
H A Ddestructors.cpp82 struct VBase { ~VBase(); }; struct in namespace:test0
102 struct B : Base, virtual VBase {
/external/clang/include/clang/AST/
H A DRecordLayout.h205 CharUnits getVBaseClassOffset(const CXXRecordDecl *VBase) const {
207 assert(CXXInfo->VBaseOffsets.count(VBase) && "Did not find base!");
209 return CXXInfo->VBaseOffsets[VBase].VBaseOffset;
H A DVTableBuilder.h364 const CXXRecordDecl *VBase);
367 /// \brief Computes the index of VBase in the vbtable of Derived.
368 /// VBase must be a morally virtual base of Derived. The vbtable is
375 const CXXRecordDecl *VBase);
/external/clang/test/CXX/basic/basic.types/
H A Dp10.cpp93 struct VBase {}; struct
94 struct HasVBase : virtual VBase {}; // expected-note 2{{virtual base class declared here}}
/external/clang/lib/CodeGen/
H A DMicrosoftVBTables.cpp212 const CXXRecordDecl *VBase = I->getType()->getAsCXXRecordDecl(); local
213 CharUnits Offset = DerivedLayout.getVBaseClassOffset(VBase);
H A DCGClass.cpp144 const CXXRecordDecl *VBase = 0; local
151 VBase =
160 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived,
166 if (VBase && Derived->hasAttr<FinalAttr>()) {
168 CharUnits vBaseOffset = layout.getVBaseClassOffset(VBase);
170 VBase = 0; // we no longer have a virtual step
179 if (NonVirtualOffset.isZero() && !VBase) {
200 if (VBase) {
202 CGM.getCXXABI().GetVirtualBaseClassOffset(*this, Value, Derived, VBase);
[all...]
/external/clang/test/CXX/special/class.copy/
H A Dp12-0x.cpp40 struct VBase : virtual Trivial {}; struct in inherits:Trivial
41 using _ = not_trivially_copyable<VBase>;
H A Dp25-0x.cpp43 struct VBase : virtual Trivial {}; struct in inherits:Trivial
44 using _ = not_trivially_assignable<VBase>;
/external/clang/lib/AST/
H A DCXXInheritance.cpp336 CXXRecordDecl *VBase = 0; local
338 VBase = cast<CXXRecordDecl>(Record->getDecl());
339 if (!VBase)
357 if (HidingClass->isVirtuallyDerivedFrom(VBase)) {
H A DDeclCXX.cpp193 for (CXXRecordDecl::base_class_iterator VBase =
195 E = BaseClassDecl->vbases_end(); VBase != E; ++VBase) {
197 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase->getType()))) {
198 VBases.push_back(VBase);
205 if (CXXRecordDecl *VBaseDecl = VBase->getType()->getAsCXXRecordDecl())
H A DRecordLayoutBuilder.cpp2636 const CXXRecordDecl *VBase = local
2639 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBase);
2641 if (vtordisps.find(VBase)->second.hasVtorDisp()) {
2643 OS << "(vtordisp for vbase " << *VBase << ")\n"; local
2646 DumpCXXRecordLayout(OS, VBase, C, VBaseOffset, IndentLevel,
2647 VBase == PrimaryBase ?
H A DVTableBuilder.cpp2316 const CXXRecordDecl *VBase) {
2317 ClassPairTy ClassPair(RD, VBase);
2381 const CXXRecordDecl *VBase = local
2384 if (VirtualBaseClassOffsetOffsets.count(std::make_pair(RD, VBase)))
2408 const CXXRecordDecl *VBase) {
2412 if (I->getType()->getAsCXXRecordDecl() == VBase)
2416 llvm_unreachable("VBase must be a vbase of Derived");
2315 getVirtualBaseOffsetOffset(const CXXRecordDecl *RD, const CXXRecordDecl *VBase) argument
2407 GetVBTableIndex(const CXXRecordDecl *Derived, const CXXRecordDecl *VBase) argument
/external/clang/lib/Sema/
H A DSemaDeclCXX.cpp3365 for (CXXRecordDecl::base_class_iterator VBase = ClassDecl->vbases_begin(),
3366 E = ClassDecl->vbases_end(); VBase != E; ++VBase) {
3369 = Info.AllBaseFields.lookup(VBase->getType()->getAs<RecordType>())) {
3378 << VBase->getType() << ClassDecl;
3388 bool IsInheritedVirtualBase = !DirectVBases.count(VBase);
3391 VBase, IsInheritedVirtualBase,
3538 for (CXXRecordDecl::base_class_const_iterator VBase =
3540 E = ClassDecl->vbases_end(); VBase != E; ++VBase)
[all...]
H A DSemaCast.cpp1363 if (const RecordType *VBase = Paths.getDetectedVirtual()) {
1365 << SrcClass << DestClass << QualType(VBase, 0) << OpRange;
H A DSemaOverload.cpp2756 if (const RecordType *VBase = Paths.getDetectedVirtual()) {
2758 << FromClass << ToClass << QualType(VBase, 0)
/external/chromium_org/third_party/icu/source/i18n/
H A Ducol.cpp3166 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7; local
3184 V += VBase;
3926 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7; local
3946 V += VBase;
/external/icu4c/i18n/
H A Ducol.cpp3241 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7; local
3259 V += VBase;
4001 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7; local
4021 V += VBase;

Completed in 2120 milliseconds