/external/clang/test/CodeGenCXX/ |
D | constructors.cpp | 4 struct VBase { int x; VBase(); VBase(int); VBase(const VBase &); }; argument
|
D | microsoft-abi-virtual-inheritance.cpp | 8 struct VBase { struct 9 virtual ~VBase(); 15 struct B : virtual VBase { argument
|
D | destructors.cpp | 77 struct VBase { ~VBase(); }; struct 98 struct B : Base, virtual VBase {
|
/external/clang/include/clang/AST/ |
D | VTableBuilder.h | 363 const CXXRecordDecl *VBase); 451 const CXXRecordDecl *VBase; member 461 : VBTableIndex(0), VBase(nullptr), VFPtrOffset(CharUnits::Zero()), in MethodVFTableLocation() 464 MethodVFTableLocation(uint64_t VBTableIndex, const CXXRecordDecl *VBase, in MethodVFTableLocation() 466 : VBTableIndex(VBTableIndex), VBase(VBase), in MethodVFTableLocation() 471 assert(VBase != other.VBase); 536 const CXXRecordDecl *VBase);
|
D | RecordLayout.h | 232 CharUnits getVBaseClassOffset(const CXXRecordDecl *VBase) const { in getVBaseClassOffset() argument 234 assert(CXXInfo->VBaseOffsets.count(VBase) && "Did not find base!"); in getVBaseClassOffset() 236 return CXXInfo->VBaseOffsets[VBase].VBaseOffset; in getVBaseClassOffset()
|
/external/harfbuzz_ng/src/ |
D | hb-ot-shape-complex-hangul.cc | 99 #define VBase 0x1161u macro 109 #define isCombiningV(u) (hb_in_range ((u), VBase, VBase+VCount-1)) 271 hb_codepoint_t s = SBase + (l - LBase) * NCount + (v - VBase) * TCount + tindex; in preprocess_text_hangul() 340 VBase + vindex, in preprocess_text_hangul()
|
/external/clang/test/CXX/basic/basic.types/ |
D | p10.cpp | 92 struct VBase {}; struct 93 struct HasVBase : virtual VBase {}; // expected-note 2{{virtual base class declared here}}
|
/external/clang/lib/AST/ |
D | CXXInheritance.cpp | 326 CXXRecordDecl *VBase = nullptr; in lookupInBases() local 328 VBase = cast<CXXRecordDecl>(Record->getDecl()); in lookupInBases() 329 if (!VBase) in lookupInBases() 344 if (HidingClass->isVirtuallyDerivedFrom(VBase)) in lookupInBases()
|
D | RecordLayoutBuilder.cpp | 2674 for (const CXXBaseSpecifier &VBase : RD->vbases()) { in layoutVirtualBases() local 2675 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl(); in layoutVirtualBases() 2686 for (const CXXBaseSpecifier &VBase : RD->vbases()) { in layoutVirtualBases() local 2687 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl(); in layoutVirtualBases() 3160 const CXXRecordDecl *VBase = Base.getType()->getAsCXXRecordDecl(); in DumpCXXRecordLayout() local 3162 CharUnits VBaseOffset = Offset + Layout.getVBaseClassOffset(VBase); in DumpCXXRecordLayout() 3164 if (vtordisps.find(VBase)->second.hasVtorDisp()) { in DumpCXXRecordLayout() 3166 OS << "(vtordisp for vbase " << *VBase << ")\n"; in DumpCXXRecordLayout() 3169 DumpCXXRecordLayout(OS, VBase, C, VBaseOffset, IndentLevel, in DumpCXXRecordLayout() 3170 VBase == PrimaryBase ? in DumpCXXRecordLayout()
|
D | VTableBuilder.cpp | 2291 const CXXRecordDecl *VBase) { in getVirtualBaseOffsetOffset() argument 2292 ClassPairTy ClassPair(RD, VBase); in getVirtualBaseOffsetOffset() 2356 const CXXRecordDecl *VBase = in computeVTableRelatedInformation() local 2359 if (VirtualBaseClassOffsetOffsets.count(std::make_pair(RD, VBase))) in computeVTableRelatedInformation() 3643 const CXXRecordDecl *VBase) { in getVBTableIndex() argument 3645 assert(VBInfo->VBTableIndices.count(VBase)); in getVBTableIndex() 3646 return VBInfo->VBTableIndices.find(VBase)->second; in getVBTableIndex()
|
D | DeclCXX.cpp | 210 for (const auto &VBase : BaseClassDecl->vbases()) { in setBases() local 212 if (SeenVBaseTypes.insert(C.getCanonicalType(VBase.getType())).second) { in setBases() 213 VBases.push_back(&VBase); in setBases() 220 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl()) in setBases()
|
D | MicrosoftMangle.cpp | 551 if (ML.VBase) { in mangleMemberFunctionPointer()
|
/external/clang/test/CXX/special/class.copy/ |
D | p25-0x.cpp | 43 struct VBase : virtual Trivial {}; struct 44 using _ = not_trivially_assignable<VBase>;
|
D | p12-0x.cpp | 40 struct VBase : virtual Trivial {}; struct 41 using _ = not_trivially_copyable<VBase>;
|
/external/clang/lib/CodeGen/ |
D | CGRecordLayoutBuilder.cpp | 80 enum InfoKind { VFPtr, VBPtr, Field, Base, VBase, Scissor } Kind; enumerator 487 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, nullptr, in accumulateVBases() 495 Members.push_back(MemberInfo(Offset, MemberInfo::VBase, in accumulateVBases() 520 Member->Kind == MemberInfo::VBase) { in calculateZeroInit() 625 else if (Member->Kind == MemberInfo::VBase) in fillOutputFields()
|
D | CGClass.cpp | 146 const CXXRecordDecl *VBase = nullptr; in GetAddressOfBaseClass() local 153 VBase = in GetAddressOfBaseClass() 162 ComputeNonVirtualBaseClassOffset(getContext(), VBase ? VBase : Derived, in GetAddressOfBaseClass() 168 if (VBase && Derived->hasAttr<FinalAttr>()) { in GetAddressOfBaseClass() 170 CharUnits vBaseOffset = layout.getVBaseClassOffset(VBase); in GetAddressOfBaseClass() 172 VBase = nullptr; // we no longer have a virtual step in GetAddressOfBaseClass() 184 if (NonVirtualOffset.isZero() && !VBase) { in GetAddressOfBaseClass() 208 EmitTypeCheck(VBase ? TCK_UpcastToVirtualBase : TCK_Upcast, Loc, Value, in GetAddressOfBaseClass() 214 if (VBase) { in GetAddressOfBaseClass() 216 CGM.getCXXABI().GetVirtualBaseClassOffset(*this, Value, Derived, VBase); in GetAddressOfBaseClass()
|
D | MicrosoftCXXABI.cpp | 179 if (ML.VBase || !ML.VFPtrOffset.isZero()) in getThisArgumentTypeForMethod() 1193 if (ML.VBase) { in getVirtualFunctionPrologueThisAdjustment() 1196 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase); in getVirtualFunctionPrologueThisAdjustment() 1245 if (ML.VBase) { in adjustThisArgumentForVirtualFunctionCall() 1248 GetVirtualBaseClassOffset(CGF, This, MD->getParent(), ML.VBase); in adjustThisArgumentForVirtualFunctionCall() 1254 if (ML.VBase) { in adjustThisArgumentForVirtualFunctionCall() 1789 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in emitVBTableDefinition() local 1790 CharUnits Offset = DerivedLayout.getVBaseClassOffset(VBase); in emitVBTableDefinition() 1800 unsigned VBIndex = Context.getVBTableIndex(ReusingBase, VBase); in emitVBTableDefinition() 2294 } else if (ML.VBase) { in BuildMemberPointer() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
D | NormalizerBuilder.java | 235 second = (char)(VBase + (SIndex % NCount) / TCount); in buildDecompositionTables() 249 SBase = 0xAC00, LBase = 0x1100, VBase = 0x1161, TBase = 0x11A7, field in NormalizerBuilder
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopRerollPass.cpp | 908 DenseSet<Instruction*> VBase; in collectUsedInstructions() local 909 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions() 910 for (auto *I : VBase) { in collectUsedInstructions() 920 if (V.size() != VBase.size()) { in collectUsedInstructions()
|
/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 3951 for (auto &VBase : ClassDecl->vbases()) { in SetCtorInitializers() local 3953 = Info.AllBaseFields.lookup(VBase.getType()->getAs<RecordType>())) { in SetCtorInitializers() 3962 << VBase.getType() << ClassDecl; in SetCtorInitializers() 3972 bool IsInheritedVirtualBase = !DirectVBases.count(&VBase); in SetCtorInitializers() 3975 &VBase, IsInheritedVirtualBase, in SetCtorInitializers() 4117 for (const auto &VBase : ClassDecl->vbases()) in DiagnoseBaseOrMemInitializerOrder() local 4118 IdealInitKeys.push_back(GetKeyForBase(SemaRef.Context, VBase.getType())); in DiagnoseBaseOrMemInitializerOrder() 4394 for (const auto &VBase : ClassDecl->vbases()) { in MarkBaseAndMemberDestructorsReferenced() local 4396 const RecordType *RT = VBase.getType()->castAs<RecordType>(); in MarkBaseAndMemberDestructorsReferenced() 4414 << Context.getTypeDeclType(ClassDecl) << VBase.getType(), in MarkBaseAndMemberDestructorsReferenced() [all …]
|
D | SemaCast.cpp | 1419 if (const RecordType *VBase = Paths.getDetectedVirtual()) { in TryStaticMemberPointerUpcast() local 1421 << SrcClass << DestClass << QualType(VBase, 0) << OpRange; in TryStaticMemberPointerUpcast()
|
D | SemaOverload.cpp | 2757 if (const RecordType *VBase = Paths.getDetectedVirtual()) { in CheckMemberPointerConversion() local 2759 << FromClass << ToClass << QualType(VBase, 0) in CheckMemberPointerConversion()
|