/external/clang/lib/Index/ |
D | IndexTypeSourceInfo.cpp | 194 if (auto CXXRD = dyn_cast<CXXRecordDecl>(D)) { in indexTagDecl() local 195 for (const auto &I : CXXRD->bases()) { in indexTagDecl() 196 indexTypeSourceInfo(I.getTypeSourceInfo(), CXXRD, CXXRD, /*isBase=*/true); in indexTagDecl()
|
D | IndexBody.cpp | 98 if (auto *CXXRD = BaseTy->getPointeeCXXRecordDecl()) in getRolesForRef() local 100 CXXRD); in getRolesForRef()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | PaddingChecker.cpp | 134 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) { in shouldSkipDecl() local 137 if (CXXRD->getNumBases() != 0) in shouldSkipDecl() 140 if (CXXRD->getNumVBases() != 0) in shouldSkipDecl() 144 if (CXXRD->getTypeForDecl()->isDependentType()) in shouldSkipDecl() 146 if (CXXRD->getTypeForDecl()->isInstantiationDependentType()) in shouldSkipDecl()
|
/external/clang/lib/CodeGen/ |
D | CGExprAgg.cpp | 1191 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(record)) { in VisitInitListExpr() local 1192 assert(E->getNumInits() >= CXXRD->getNumBases() && in VisitInitListExpr() 1194 for (auto &Base : CXXRD->bases()) { in VisitInitListExpr() 1198 Dest.getAddress(), CXXRD, BaseRD, in VisitInitListExpr() 1355 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(SD)) in GetNumNonZeroBytesInInit() local 1356 while (ILEElement != CXXRD->getNumBases()) in GetNumNonZeroBytesInInit()
|
D | TargetInfo.cpp | 452 if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(RD)) in isEmptyRecord() local 453 for (const auto &I : CXXRD->bases()) in isEmptyRecord() 483 if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(RD)) { in isSingleElementStruct() local 484 for (const auto &I : CXXRD->bases()) { in isSingleElementStruct() 1176 if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(RD)) { in canExpandIndirectArgument() local 1180 if (!CXXRD->isCLike()) in canExpandIndirectArgument() 1184 if (CXXRD->isDynamicClass()) in canExpandIndirectArgument() 1187 for (const CXXBaseSpecifier &Base : CXXRD->bases()) { in canExpandIndirectArgument() 1322 if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(RD)) in isRecordWithSSEVectorType() local 1323 for (const auto &I : CXXRD->bases()) in isRecordWithSSEVectorType() [all …]
|
D | CGExprConstant.cpp | 375 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) in Build() local 376 if (CXXRD->getNumBases()) in Build() 1143 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) in Build() local 1144 if (CXXRD->getNumBases()) in Build()
|
D | CGExprCXX.cpp | 1019 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RType->getDecl())) in EmitNewArrayInitializer() local 1020 NumElements = CXXRD->getNumBases(); in EmitNewArrayInitializer()
|
D | CGCall.cpp | 864 if (const auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) { in getTypeExpansion() local 865 assert(!CXXRD->isDynamicClass() && in getTypeExpansion() 867 for (const CXXBaseSpecifier &BS : CXXRD->bases()) in getTypeExpansion()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 3160 auto CXXRD = dyn_cast<CXXRecordDecl>(RD); in DumpRecordLayout() local 3166 if (CXXRD && CXXRD->isEmpty()) in DumpRecordLayout() 3173 if (CXXRD) { in DumpRecordLayout() 3179 if (CXXRD->isDynamicClass() && !PrimaryBase && !isMsLayout(C)) { in DumpRecordLayout() 3190 for (const CXXBaseSpecifier &Base : CXXRD->bases()) { in DumpRecordLayout() 3249 if (CXXRD && IncludeVirtualBases) { in DumpRecordLayout() 3253 for (const CXXBaseSpecifier &Base : CXXRD->vbases()) { in DumpRecordLayout() 3276 if (CXXRD && !isMsLayout(C)) in DumpRecordLayout() 3280 if (CXXRD) { in DumpRecordLayout()
|
D | Decl.cpp | 3579 if (const auto *CXXRD = dyn_cast<CXXRecordDecl>(this)) in getDefinition() local 3580 return CXXRD->getDefinition(); in getDefinition() 3820 const auto *CXXRD = dyn_cast<CXXRecordDecl>(this); in mayInsertExtraPadding() local 3823 if (!CXXRD || CXXRD->isExternCContext()) in mayInsertExtraPadding() 3825 else if (CXXRD->hasAttr<PackedAttr>()) in mayInsertExtraPadding() 3827 else if (CXXRD->isUnion()) in mayInsertExtraPadding() 3829 else if (CXXRD->isTriviallyCopyable()) in mayInsertExtraPadding() 3831 else if (CXXRD->hasTrivialDestructor()) in mayInsertExtraPadding() 3833 else if (CXXRD->isStandardLayout()) in mayInsertExtraPadding()
|
D | ItaniumMangle.cpp | 1473 const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(RD); in mangleLocalName() local 1474 if (CXXRD && CXXRD->isLambda()) { in mangleLocalName() 1476 = dyn_cast_or_null<ParmVarDecl>(CXXRD->getLambdaContextDecl())) { in mangleLocalName()
|
D | ExprConstant.cpp | 5583 auto *CXXRD = dyn_cast<CXXRecordDecl>(RD); in VisitInitListExpr() local 5585 Result = APValue(APValue::UninitStruct(), CXXRD ? CXXRD->getNumBases() : 0, in VisitInitListExpr() 5591 if (CXXRD) { in VisitInitListExpr() 5592 for (const auto &Base : CXXRD->bases()) { in VisitInitListExpr() 5597 if (!HandleLValueBase(Info, Init, Subobject, CXXRD, &Base)) in VisitInitListExpr()
|
/external/clang/tools/libclang/ |
D | CXIndexDataConsumer.cpp | 636 if (const CXXRecordDecl *CXXRD = dyn_cast<CXXRecordDecl>(D)) in handleTagDecl() local 637 return handleCXXRecordDecl(CXXRD, D); in handleTagDecl()
|
/external/clang/lib/Sema/ |
D | SemaInit.cpp | 648 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RDecl)) { in FillInEmptyInitializations() local 649 for (auto &Base : CXXRD->bases()) { in FillInEmptyInitializations() 805 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(structDecl)) in numStructUnionElements() local 806 InitializableMembers += CXXRD->getNumBases(); in numStructUnionElements() 1057 if (auto *CXXRD = dyn_cast<CXXRecordDecl>(RD)) in CheckListElementTypes() local 1058 Bases = CXXRD->bases(); in CheckListElementTypes()
|