HomeSort by relevance Sort by last modified time
    Searched refs:BaseDecl (Results 1 - 13 of 13) sorted by null

  /external/clang/lib/CodeGen/
CGVTT.cpp 229 const CXXRecordDecl *BaseDecl =
234 Layout.getBaseClassOffset(BaseDecl);
237 LayoutVTT(BaseSubobject(BaseDecl, BaseOffset), /*BaseIsVirtual=*/false);
257 const CXXRecordDecl *BaseDecl =
267 if (!BaseDecl->isDynamicClass())
275 if (!VBases.insert(BaseDecl))
278 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl);
284 Layout.getBaseClassOffset(BaseDecl);
287 Layout.getPrimaryBase() == BaseDecl)
297 (BaseDecl->getNumVBases() || BaseDeclIsMorallyVirtual))
    [all...]
CGRTTI.cpp 367 const CXXRecordDecl *BaseDecl =
369 if (!BaseDecl->isEmpty() &&
370 BaseDecl->isDynamicClass() != RD->isDynamicClass())
772 const CXXRecordDecl *BaseDecl =
776 if (Bases.VirtualBases.count(BaseDecl)) {
781 if (Bases.NonVirtualBases.count(BaseDecl))
785 Bases.VirtualBases.insert(BaseDecl);
788 if (Bases.NonVirtualBases.count(BaseDecl)) {
793 if (Bases.VirtualBases.count(BaseDecl))
797 Bases.NonVirtualBases.insert(BaseDecl);
    [all...]
CGRecordLayoutBuilder.cpp 644 const CXXRecordDecl *BaseDecl =
649 if (I->isVirtual() && !IndirectPrimaryBases.count(BaseDecl)) {
651 if (!LaidOutVirtualBases.insert(BaseDecl))
654 CharUnits vbaseOffset = Layout.getVBaseClassOffset(BaseDecl);
655 LayoutVirtualBase(BaseDecl, vbaseOffset);
658 if (!BaseDecl->getNumVBases()) {
663 LayoutVirtualBases(BaseDecl, Layout);
697 const CXXRecordDecl *BaseDecl =
701 if (BaseDecl == PrimaryBase && !Layout.isPrimaryBaseVirtual())
704 LayoutNonVirtualBase(BaseDecl, Layout.getBaseClassOffset(BaseDecl))
    [all...]
CGVTables.cpp 352 const CXXRecordDecl *BaseDecl =
359 if (SubobjectOffsets.count(std::make_pair(BaseDecl, 0)))
365 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl);
367 LayoutClassLayout.getVBaseClassOffset(BaseDecl);
370 CharUnits Offset = Layout.getBaseClassOffset(BaseDecl);
376 ComputeBaseOffsets(BaseSubobject(BaseDecl, BaseOffset),
390 const CXXRecordDecl *BaseDecl =
394 if (!BaseDecl->isPolymorphic())
399 if (!VisitedVirtualBases.insert(BaseDecl)) {
404 BaseOffset = MostDerivedClassLayout.getVBaseClassOffset(BaseDecl);
    [all...]
CGClass.cpp 41 const CXXRecordDecl *BaseDecl =
45 Offset += Layout.getBaseClassOffset(BaseDecl);
47 RD = BaseDecl;
    [all...]
CGExprConstant.cpp     [all...]
  /external/clang/lib/AST/
CXXInheritance.cpp 485 const CXXRecordDecl *BaseDecl = cast<CXXRecordDecl>(RT->getDecl());
486 if (!BaseDecl->isPolymorphic())
492 Collect(BaseDecl, false, InVirtualSubobject, Overriders);
504 CXXFinalOverriderMap *&MyVirtualOverriders = VirtualOverriders[BaseDecl];
507 Collect(BaseDecl, true, BaseDecl, *MyVirtualOverriders);
512 Collect(BaseDecl, false, InVirtualSubobject, ComputedBaseOverriders);
683 const CXXRecordDecl *BaseDecl =
688 if (BaseDecl->getNumVBases())
689 AddIndirectPrimaryBases(BaseDecl, Context, Bases)
    [all...]
RecordLayoutBuilder.cpp 144 const CXXRecordDecl *BaseDecl =
148 const ASTRecordLayout &Layout = Context.getASTRecordLayout(BaseDecl);
149 if (BaseDecl->isEmpty()) {
358 const CXXRecordDecl *BaseDecl =
361 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl);
362 if (!CanPlaceFieldSubobjectAtOffset(BaseDecl, Class, BaseOffset))
471 const CXXRecordDecl *BaseDecl =
474 CharUnits BaseOffset = Offset + Layout.getBaseClassOffset(BaseDecl);
475 UpdateEmptyFieldSubobjects(BaseDecl, Class, BaseOffset);
901 const CXXRecordDecl *BaseDecl
    [all...]
DeclCXX.cpp     [all...]
ExprConstant.cpp 697 const CXXRecordDecl *BaseDecl = Base->getType()->getAsCXXRecordDecl();
700 Offset += Layout.getBaseClassOffset(BaseDecl);
701 DerivedDecl = BaseDecl;
    [all...]
  /external/clang/lib/Sema/
SemaDeclCXX.cpp 684 RecordDecl *BaseDecl = BaseType->getAs<RecordType>()->getDecl();
685 assert(BaseDecl && "Record type has no declaration");
686 BaseDecl = BaseDecl->getDefinition();
687 assert(BaseDecl && "Base type is not incomplete, but has no definition");
688 CXXRecordDecl * CXXBaseDecl = cast<CXXRecordDecl>(BaseDecl);
702 if (BaseDecl->isInvalidDecl())
    [all...]
SemaLookup.cpp     [all...]
SemaInit.cpp     [all...]

Completed in 692 milliseconds