|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
tools/clang/include/clang/AST/Type.h 2197 CXXRecordDecl *getAsCXXRecordDecl() const;
References
tools/clang/include/clang/Analysis/CFG.h 194 E->getType().getCanonicalType()->getAsCXXRecordDecl();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h 614 const CXXRecordDecl *LambdaDecl = LambdaVD->getType()->getAsCXXRecordDecl();
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/MemRegion.h 980 assert(ThisPointerTy->getPointeeType()->getAsCXXRecordDecl() &&
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ProgramState.h 709 const auto *Base = BaseSpec.getType()->getAsCXXRecordDecl();
tools/clang/include/clang/Tooling/Refactoring/RecursiveSymbolVisitor.h 103 return visit(TP->getAsCXXRecordDecl(), TypeBeginLoc, TypeEndLoc);
tools/clang/lib/AST/ASTContext.cpp 597 if (const CXXRecordDecl *NonVirtualBase = Ty->getAsCXXRecordDecl()) {
612 if (const CXXRecordDecl *VirtualBase = Ty->getAsCXXRecordDecl()) {
2455 return Layout.getBaseClassOffset(L.first->getAsCXXRecordDecl()) <
2456 Layout.getBaseClassOffset(R.first->getAsCXXRecordDecl());
2461 Layout.getBaseClassOffset(Base.first->getAsCXXRecordDecl()));
6193 if (const CXXRecordDecl *record = Ty->getAsCXXRecordDecl()) {
7156 CXXRecordDecl *base = BI.getType()->getAsCXXRecordDecl();
7176 CXXRecordDecl *base = BI.getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/ASTImporter.cpp 1863 ImportDefinitionIfNeeded(Base1.getType()->getAsCXXRecordDecl()))
tools/clang/lib/AST/ASTImporterLookupTable.cpp 45 LT.add(RTy->getAsCXXRecordDecl());
47 LT.add(SpecTy->getAsCXXRecordDecl());
tools/clang/lib/AST/ComparisonCategories.cpp 29 auto *Record = VD->getType()->getAsCXXRecordDecl();
107 auto *RD = Ty->getAsCXXRecordDecl();
tools/clang/lib/AST/Decl.cpp 3010 auto *RD = getParamDecl(1)->getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/DeclCXX.cpp 175 if (const CXXRecordDecl *B = BaseSpec.getType()->getAsCXXRecordDecl()) {
293 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl())
471 addedClassSubobject(Type->getAsCXXRecordDecl());
640 if (auto *RD = T->getAsCXXRecordDecl())
1052 if (CXXRecordDecl *FieldType = T->getAsCXXRecordDecl()) {
1066 Field->getType()->getAsCXXRecordDecl()->hasInClassInitializer())) {
1786 if (const CXXRecordDecl *RD = Base.getType()->getAsCXXRecordDecl())
1793 Field->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl())
1855 const auto *Base = BaseSpec.getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/Expr.cpp 1990 !(T->isNullPtrType() || T->getAsCXXRecordDecl())) &&
2571 if (const CXXRecordDecl *Type = getType()->getAsCXXRecordDecl()) {
tools/clang/lib/AST/ExprCXX.cpp 139 if (const CXXRecordDecl *RD = E->getType()->getAsCXXRecordDecl())
751 return ThisArg->getType()->getPointeeType()->getAsCXXRecordDecl();
753 return ThisArg->getType()->getAsCXXRecordDecl();
1283 return getType()->getAsCXXRecordDecl();
1579 Record = T->getAsCXXRecordDecl();
1588 Record = BaseType->getAsCXXRecordDecl();
tools/clang/lib/AST/ExprConstant.cpp 2670 const CXXRecordDecl *BaseDecl = Base->getType()->getAsCXXRecordDecl();
2680 DerivedDecl = D.MostDerivedType->getAsCXXRecordDecl();
2697 if (!HandleLValueBase(Info, E, Result, Type->getAsCXXRecordDecl(),
2921 if (I->getType()->getAsCXXRecordDecl()->getCanonicalDecl() == Base)
3011 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
3032 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
3346 const CXXRecordDecl *Derived = ObjType->getAsCXXRecordDecl();
4145 const CXXRecordDecl *RD = LVType->getAsCXXRecordDecl();
4217 const CXXRecordDecl *TargetType = TargetQT->getAsCXXRecordDecl();
4220 FinalType = D.MostDerivedType->getAsCXXRecordDecl();
4235 if (auto *RD = T->getAsCXXRecordDecl()) {
5021 ? Designator.MostDerivedType->getAsCXXRecordDecl()
5041 This.Designator.MostDerivedType->getAsCXXRecordDecl();
5175 auto *BaseClass = BaseSpec.getType()->getAsCXXRecordDecl();
5342 FD->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
5376 assert(declaresSameEntity(Elt->getType()->getAsCXXRecordDecl(),
5422 if (hasFields(Base.getType()->getAsCXXRecordDecl()))
5643 BaseType->getAsCXXRecordDecl(), &Layout))
5792 const CXXRecordDecl *RD = T->getAsCXXRecordDecl();
5896 BaseType->getAsCXXRecordDecl(), &Layout))
6023 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl())
6030 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl())
6242 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl();
6407 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl();
8716 const CXXRecordDecl *Derived = (*PathI)->getType()->getAsCXXRecordDecl();
8721 if (!Result.castToDerived(FinalTy->getAsCXXRecordDecl()))
8732 const CXXRecordDecl *Base = (*PathI)->getType()->getAsCXXRecordDecl();
8807 const CXXRecordDecl *Base = I->getType()->getAsCXXRecordDecl();
8881 const CXXRecordDecl *RD = E->getSubExpr()->getType()->getAsCXXRecordDecl();
8885 const CXXRecordDecl *Base = (*PathI)->getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/MicrosoftCXXABI.cpp 149 RD->bases_begin()->getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/MicrosoftMangle.cpp 571 mangleName(MPT->getClass()->getAsCXXRecordDecl());
886 const CXXRecordDecl *RD = VD->getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/NestedNameSpecifier.cpp 194 return getAsType()->getAsCXXRecordDecl();
tools/clang/lib/AST/QualTypeNames.cpp 245 TD = Type->getAsCXXRecordDecl();
330 Decl = TypePtr->getAsCXXRecordDecl();
tools/clang/lib/AST/RecordLayoutBuilder.cpp 189 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
215 const CXXRecordDecl *MemberDecl = RT->getAsCXXRecordDecl();
394 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
404 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl();
437 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
447 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl();
505 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
515 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl();
539 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) {
551 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl();
814 const CXXRecordDecl *Base = I.getType()->getAsCXXRecordDecl();
855 const CXXRecordDecl *Base = I.getType()->getAsCXXRecordDecl();
942 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
967 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1057 const CXXRecordDecl *BaseDecl = I.getType()->getAsCXXRecordDecl();
1136 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
1338 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
1345 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
1747 auto *FieldClass = D->getType()->getAsCXXRecordDecl();
2573 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
2609 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
2858 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl();
2870 const CXXRecordDecl *BaseDecl = VBase.getType()->getAsCXXRecordDecl();
2949 Base.getType()->getAsCXXRecordDecl()))
2961 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
2972 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
3012 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
3332 Bases.push_back(Base.getType()->getAsCXXRecordDecl());
3393 const CXXRecordDecl *VBase = Base.getType()->getAsCXXRecordDecl();
tools/clang/lib/AST/StmtPrinter.cpp 1572 if (Node->getType()->getAsCXXRecordDecl()) {
tools/clang/lib/AST/Type.cpp 2157 const CXXRecordDecl *RD = ClassTy->getAsCXXRecordDecl();
2533 if (const auto *RD = getAsCXXRecordDecl()) {
4146 return getClass()->getAsCXXRecordDecl()->getMostRecentNonInjectedDecl();
tools/clang/lib/AST/VTableBuilder.cpp 233 VirtualBase = VBaseType->getAsCXXRecordDecl();
245 const CXXRecordDecl *Base = Element.Base->getType()->getAsCXXRecordDecl();
347 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
383 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
724 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
745 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
1737 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
1811 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
1840 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl();
2301 RD->vbases_begin()->getType()->getAsCXXRecordDecl();
2649 return Bases.count(Specifier->getType()->getAsCXXRecordDecl());
2672 *CurRD = CurTy->getAsCXXRecordDecl();
2887 if (B.isVirtual() && B.getType()->getAsCXXRecordDecl() == Base)
3262 const CXXRecordDecl *Base = B.getType()->getAsCXXRecordDecl();
3315 VBasesSeen.insert(VB.getType()->getAsCXXRecordDecl());
3391 const CXXRecordDecl *Base = BS.getType()->getAsCXXRecordDecl();
3438 return BS.getType()->getAsCXXRecordDecl() == Base;
3692 const CXXRecordDecl *CurVBase = VB.getType()->getAsCXXRecordDecl();
tools/clang/lib/ASTMatchers/ASTMatchFinder.cpp 830 if (auto *RD = TypeNode->getAsCXXRecordDecl())
tools/clang/lib/Analysis/BodyFarm.cpp 341 CXXRecordDecl *CallbackRecordDecl = CallbackType->getAsCXXRecordDecl();
tools/clang/lib/Analysis/CFG.cpp 729 if (Arg->getType()->getAsCXXRecordDecl() && !Arg->isGLValue())
1443 assert(!CO->getType()->getAsCXXRecordDecl() || CO->isGLValue() ||
1865 if (Ty->getAsCXXRecordDecl()->isAnyDestructorNoReturn())
1889 const CXXRecordDecl *CD = VI.getType()->getAsCXXRecordDecl();
1899 const CXXRecordDecl *CD = BI.getType()->getAsCXXRecordDecl();
1917 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl())
2009 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl())
4526 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl();
4984 const CXXRecordDecl *classDecl = ty->getAsCXXRecordDecl();
4993 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl();
5301 OS << I->getBaseClass()->getAsCXXRecordDecl()->getName();
5303 OS << I->getTypeSourceInfo()->getType()->getAsCXXRecordDecl()->getName();
5534 OS << "~" << BS->getType()->getAsCXXRecordDecl()->getName() << "()";
5543 OS << ".~" << T->getAsCXXRecordDecl()->getName() << "()";
tools/clang/lib/Analysis/ConstructionContext.cpp 54 if (!BTE && !(MTE->getType().getCanonicalType()->getAsCXXRecordDecl()
112 ->getAsCXXRecordDecl()->hasTrivialDestructor());
122 ->getAsCXXRecordDecl()->hasTrivialDestructor());
155 ->getAsCXXRecordDecl()->hasTrivialDestructor());
193 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl()
tools/clang/lib/Analysis/Consumed.cpp 147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl())
197 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>();
1207 const CXXRecordDecl *RD = ReturnType->getAsCXXRecordDecl();
tools/clang/lib/Analysis/RetainSummaryManager.cpp 210 if (CXXRecordDecl *RD = PT->getAsCXXRecordDecl())
221 const auto *RD = QT->getAsCXXRecordDecl();
239 const CXXRecordDecl *PD = RetTy->getPointeeType()->getAsCXXRecordDecl();
tools/clang/lib/Analysis/ThreadSafety.cpp 2159 auto *RD = E->getType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGBlocks.cpp 630 if (!VT->getAsCXXRecordDecl()->isExternallyVisible())
641 if (const CXXRecordDecl *record = VT->getAsCXXRecordDecl()) {
1802 if (const auto *RD = T->getAsCXXRecordDecl())
2622 if (const CXXRecordDecl *record = type->getAsCXXRecordDecl()) {
tools/clang/lib/CodeGen/CGBuiltin.cpp 1486 const auto *Record = Ty->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGCXXABI.cpp 244 derivedType->castAs<MemberPointerType>()->getClass()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGCall.cpp 1033 GetAddressOfBaseClass(This, Ty->getAsCXXRecordDecl(), &BS, &BS + 1,
1076 GetAddressOfBaseClass(This, Ty->getAsCXXRecordDecl(), &BS, &BS + 1,
3029 const CXXRecordDecl *RD = type->getAsCXXRecordDecl();
3505 const CXXDestructorDecl *Dtor = Ty->getAsCXXRecordDecl()->getDestructor();
3590 if (const auto *RD = type->getAsCXXRecordDecl())
tools/clang/lib/CodeGen/CGClass.cpp 144 memberPtrType->getClass()->getAsCXXRecordDecl(),
1849 CXXRecordDecl *BaseClassDecl = Base.getType()->getAsCXXRecordDecl();
2446 CXXRecordDecl *ClassDecl = T->getAsCXXRecordDecl();
2635 RD->bases_begin()->getType()->getAsCXXRecordDecl());
2876 const CXXRecordDecl *Lambda = variable->getType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGDecl.cpp 1935 CXXDestructorDecl *dtor = type->getAsCXXRecordDecl()->getDestructor();
tools/clang/lib/CodeGen/CGDeclCXX.cpp 105 const CXXRecordDecl *Record = Type->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGExpr.cpp 639 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
3967 const auto *RD = Type.getTypePtr()->getAsCXXRecordDecl();
4677 assert(E->getType()->getAsCXXRecordDecl()->hasTrivialDestructor()
tools/clang/lib/CodeGen/CGExprAgg.cpp 1517 auto *BaseRD = Base.getType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGExprCXX.cpp 99 assert(ThisTy->getAsCXXRecordDecl() == DtorDecl->getParent() &&
1848 auto *Dtor = ElementType->getAsCXXRecordDecl()->getDestructor();
tools/clang/lib/CodeGen/CGExprConstant.cpp 784 const CXXRecordDecl *BD = Base->getType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 7815 const auto *Base = I.getType()->getAsCXXRecordDecl();
7828 const auto *Base = I.getType()->getAsCXXRecordDecl();
8171 ->getAsCXXRecordDecl();
8347 VD->getType().getCanonicalType()->getAsCXXRecordDecl())
9618 if (const auto *RD = RDTy->getBaseElementTypeUnsafe()->getAsCXXRecordDecl()) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 4859 ->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp 495 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
521 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
534 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
562 if (!hasOwnStorage(Base.getType()->getAsCXXRecordDecl(), Query))
tools/clang/lib/CodeGen/CGVTables.cpp 90 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl();
1054 if (B.getType()->getAsCXXRecordDecl()->isDynamicClass())
1056 GetVCallVisibilityLevel(B.getType()->getAsCXXRecordDecl()));
1059 if (B.getType()->getAsCXXRecordDecl()->isDynamicClass())
1061 GetVCallVisibilityLevel(B.getType()->getAsCXXRecordDecl()));
tools/clang/lib/CodeGen/CodeGenFunction.cpp 141 if (forPointeeType && (RD = T->getAsCXXRecordDecl())) {
tools/clang/lib/CodeGen/CodeGenModule.cpp 1474 CollectMostBases(B.getType()->getAsCXXRecordDecl());
3387 = Context.getBaseElementType(Ty)->getAsCXXRecordDecl())
3539 Context.getBaseElementType(D->getType())->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp 739 CXXRecordDecl *RD = MPT->getClass()->getAsCXXRecordDecl();
1343 PathElement.Base->getType()->getAsCXXRecordDecl());
1411 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl();
1412 const CXXRecordDecl *DestDecl = DestRecordTy->getAsCXXRecordDecl();
1877 auto *BRD = B.getType()->getAsCXXRecordDecl();
1896 auto *BRD = B.getType()->getAsCXXRecordDecl();
2896 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
3368 auto RD = Ty->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp 335 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl();
895 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl();
909 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl();
927 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl();
961 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl();
1178 const CXXRecordDecl *VBase = S.getType()->getAsCXXRecordDecl();
2098 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl();
2754 if (BS.getType()->getAsCXXRecordDecl()->getCanonicalDecl() ==
3535 serializeClassHierarchy(Classes, Base.getType()->getAsCXXRecordDecl());
4006 CXXRecordDecl *RD = T->getAsCXXRecordDecl();
4049 if (const CXXRecordDecl *RD = PointeeType->getAsCXXRecordDecl()) {
4109 MostDerivedClass = T->getPointeeType()->getAsCXXRecordDecl();
4111 MostDerivedClass = T->getAsCXXRecordDecl();
4244 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
tools/clang/lib/CodeGen/SwiftCallingConv.cpp 139 auto baseRecord = baseSpecifier.getType()->getAsCXXRecordDecl();
164 auto baseRecord = vbaseSpecifier.getType()->getAsCXXRecordDecl();
tools/clang/lib/CodeGen/TargetInfo.cpp 1326 if (!addBaseAndFieldSizes(Context, Base.getType()->getAsCXXRecordDecl(),
tools/clang/lib/Index/IndexTypeSourceInfo.cpp 66 if (auto *CD = TL.getType()->getAsCXXRecordDecl()) {
158 T->getTemplateName(), TL.getTemplateNameLoc(), T->getAsCXXRecordDecl(),
168 T->getTemplateName(), TL.getTemplateNameLoc(), T->getAsCXXRecordDecl(),
tools/clang/lib/Sema/Sema.cpp 833 if (CXXRecordDecl *FriendD = TSI->getType()->getAsCXXRecordDecl())
1684 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaAttr.cpp 141 CXXRecordDecl *RD = Canonical->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaCUDA.cpp 470 if (CXXRecordDecl *RD = BS.getType()->getAsCXXRecordDecl())
480 ->getAsCXXRecordDecl())
512 if (CXXRecordDecl *RD = VD->getType()->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaCast.cpp 472 auto DeclFrom = RecFrom->getAsCXXRecordDecl();
476 auto DeclTo = RecTo->getAsCXXRecordDecl();
891 SrcPointeeRD ? SrcPointeeRD : SrcType->getAsCXXRecordDecl();
931 const CXXRecordDecl *BaseRD = IElem->Base->getType()->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaChecking.cpp 9349 const CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
13082 if (CXXRecordDecl *ClassDecl = Param->getType()->getAsCXXRecordDecl()) {
tools/clang/lib/Sema/SemaCodeComplete.cpp 1607 NamingClass = BaseType->getAsCXXRecordDecl();
1954 const auto *BR = Base.getType().getTypePtr()->getAsCXXRecordDecl();
5160 } else if (auto DC = NakedFn->getType()->getAsCXXRecordDecl()) {
5209 isCompleteType(Loc, Type) ? Type->getAsCXXRecordDecl() : nullptr;
5645 const auto *RD = Base.getType()->getAsCXXRecordDecl();
5653 const CXXRecordDecl *RD = FD->getType()->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaCoroutine.cpp 105 auto *RD = CoroTrait->getAsCXXRecordDecl();
129 if (!PromiseType->getAsCXXRecordDecl()) {
363 << NameInfo.getName() << Base->getType()->getAsCXXRecordDecl()
732 auto *RD = Promise->getType()->getAsCXXRecordDecl();
939 auto *PointeeRD = PromiseType->getAsCXXRecordDecl();
1006 PromiseRecordDecl = Fn.CoroutinePromise->getType()->getAsCXXRecordDecl();
1543 if (PD->getType()->getAsCXXRecordDecl() ||
tools/clang/lib/Sema/SemaDecl.cpp 189 BaseRD = BaseTT->getAsCXXRecordDecl();
12542 CXXRecordDecl *RD = baseType->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaDeclAttr.cpp 1128 if (const CXXRecordDecl *RD = ThisType->getAsCXXRecordDecl()) {
4884 return !PT.isNull() && PT->getAsCXXRecordDecl() != nullptr;
tools/clang/lib/Sema/SemaDeclCXX.cpp 1007 CXXRecordDecl *RD = TraitTy->getAsCXXRecordDecl();
1139 if (auto *RD = DecompType->getAsCXXRecordDecl())
1260 return Specifier->getType()->getAsCXXRecordDecl()->hasDirectFields();
1309 ClassWithFields = BaseType->getAsCXXRecordDecl();
1469 CXXRecordDecl *RD = DecompType->getAsCXXRecordDecl();
1606 T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
1929 ? !Field->getType()->getAsCXXRecordDecl()->hasVariantMembers()
1930 : Field->getType()->getAsCXXRecordDecl()->isEmpty()))
2379 CXXRecordDecl *Base = I.getType()->getAsCXXRecordDecl();
2435 if (CXXRecordDecl *BaseDecl = BaseType->getAsCXXRecordDecl()) {
2472 BaseType->getAsCXXRecordDecl())) {
2605 auto Decl = Rec->getAsCXXRecordDecl();
2741 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl();
2745 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl();
2769 CXXRecordDecl *DerivedRD = Derived->getAsCXXRecordDecl();
2773 CXXRecordDecl *BaseRD = Base->getAsCXXRecordDecl();
3073 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
3102 const auto Base = Specifier->getType()->getAsCXXRecordDecl();
3124 auto Base = P.back().Base->getType()->getAsCXXRecordDecl();
4815 CXXRecordDecl *FieldRD = Field->getType()->getAsCXXRecordDecl();
5506 const auto *RD = Context.getBaseElementType(T)->getAsCXXRecordDecl();
5530 DiagnoseAbstractType(T->getAsCXXRecordDecl());
7109 Classes.push_back(FD->getType()->getAsCXXRecordDecl());
7478 CXXRecordDecl *BaseClass = Base->getType()->getAsCXXRecordDecl();
7508 CXXRecordDecl *FieldRecord = FieldType->getAsCXXRecordDecl();
7580 CXXRecordDecl *UnionFieldRecord = UnionFieldType->getAsCXXRecordDecl();
7937 CXXRecordDecl *SubRD = SubType->getAsCXXRecordDecl();
7996 if (!checkTrivialClassMembers(S, FieldType->getAsCXXRecordDecl(),
8340 !B.getType()->getAsCXXRecordDecl()->canPassInRegisters()) ||
8748 if (!declaresSameEntity(ParamType->getAsCXXRecordDecl(), RD)) {
9576 CXXRecordDecl *Base = BaseSpec.getType()->getAsCXXRecordDecl();
10190 if (B.getType()->getAsCXXRecordDecl() == Base)
11674 auto *BaseRD = B.getType()->getAsCXXRecordDecl();
12747 CXXRecordDecl *Base = BaseSpec->getType()->getAsCXXRecordDecl();
12783 Existing->getType()->getAsCXXRecordDecl()->getCanonicalDecl())
12787 BI.getType()->getAsCXXRecordDecl()->getCanonicalDecl())
13492 DeclInitType->getBaseElementTypeUnsafe()->getAsCXXRecordDecl()) &&
tools/clang/lib/Sema/SemaExceptionSpec.cpp 608 if (CXXRecordDecl *ExRecord = Exception->getAsCXXRecordDecl()) {
tools/clang/lib/Sema/SemaExpr.cpp 820 if (CXXRecordDecl *Record = Ty->getAsCXXRecordDecl())
2054 Record = Ty->getAsCXXRecordDecl();
2128 RD = ThisType->getPointeeType()->getAsCXXRecordDecl();
12945 assert(ResultTy.isNull() || ResultTy->getAsCXXRecordDecl());
16359 if (auto *RD = VD->getType()->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaExprCXX.cpp 819 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl();
885 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl();
1287 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl();
2407 LookupQualifiedName(R, AllocElemType->getAsCXXRecordDecl());
4412 if (const auto *RD = ArgTy->getAsCXXRecordDecl())
4422 if (ArgTy->getAsCXXRecordDecl())
4589 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4593 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4597 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4613 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4645 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl())
4655 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl())
4666 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4676 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl())
4696 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4728 if (auto *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) {
4764 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl())
4810 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl()) {
4852 if (CXXRecordDecl *RD = C.getBaseElementType(T)->getAsCXXRecordDecl()) {
4886 if (CXXRecordDecl *RD = T->getAsCXXRecordDecl())
4958 CXXRecordDecl *RD = T->getAsCXXRecordDecl();
6658 Bind->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
6884 if (auto *RD = DestructedType->getAsCXXRecordDecl()) {
7561 Record = NNS->getAsType()->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaFixItUtils.cpp 208 const CXXRecordDecl *RD = T->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaInit.cpp 1092 auto *CXXRD = T->getAsCXXRecordDecl();
1226 auto *CXXRD = T->getAsCXXRecordDecl();
1801 auto *CXXRD = ElementType->getAsCXXRecordDecl();
3939 auto *SourceRD = Initializer->getType()->getAsCXXRecordDecl();
4352 CXXRecordDecl *RD = DestType->getAsCXXRecordDecl();
6704 if (auto *RD = Type->getAsCXXRecordDecl())
7144 if (CXXRecordDecl *RD = ILE->getType()->getAsCXXRecordDecl()) {
8604 CXXRecordDecl *RD = T->getBaseElementTypeUnsafe()->getAsCXXRecordDecl();
9837 auto *RD = E->getType()->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaLambda.cpp 1572 if (const CXXRecordDecl *RD = BaseT->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaLookup.cpp 4306 if (CXXRecordDecl *CD = TI->getAsCXXRecordDecl()) {
4406 if (CXXRecordDecl *NSDecl = NSType ? NSType->getAsCXXRecordDecl() :
4451 NSType ? NSType->getAsCXXRecordDecl()
tools/clang/lib/Sema/SemaOpenMP.cpp 1250 ? Type->getAsCXXRecordDecl()
2858 VD->getType().getNonReferenceType()->getAsCXXRecordDecl())
3604 ->getAsCXXRecordDecl()) {
6124 if (!Diff.isUsable() && VarType->getAsCXXRecordDecl()) {
6436 if (!Diff.isUsable() && VarType->getAsCXXRecordDecl()) {
tools/clang/lib/Sema/SemaOverload.cpp 4360 if (CXXRecordDecl *Record = T->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaPseudoObject.cpp 245 if (const CXXRecordDecl *ClassDecl = ty->getAsCXXRecordDecl())
tools/clang/lib/Sema/SemaStmt.cpp 349 if (const CXXRecordDecl *RD = CE->getType()->getAsCXXRecordDecl())
2233 if (CXXRecordDecl *D = RangeType->getAsCXXRecordDecl()) {
4109 if (auto *RD = Underlying->getAsCXXRecordDecl()) {
tools/clang/lib/Sema/SemaTemplate.cpp 589 LookupCtx = ME->getBase()->getType()->getAsCXXRecordDecl();
2639 if (CXXRecordDecl *Record = T->getAsCXXRecordDecl()) {
2769 if (CXXRecordDecl *Record = T->getAsCXXRecordDecl()) {
8940 B.getType()->getAsCXXRecordDecl()))
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp 1946 if (const CXXRecordDecl *RD = Base.getType()->getAsCXXRecordDecl()) {
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 5457 auto *SubstRecord = T->getAsCXXRecordDecl();
tools/clang/lib/Sema/SemaType.cpp 3300 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl();
3424 auto *RD = T->getAsCXXRecordDecl();
7992 !MPTy->getClass()->getAsCXXRecordDecl()->isBeingDefined() &&
tools/clang/lib/Serialization/ASTReaderDecl.cpp 1401 if (VD->hasAttr<BlocksAttr>() && VD->getType()->getAsCXXRecordDecl()) {
tools/clang/lib/Serialization/ASTWriterDecl.cpp 984 if (D->hasAttr<BlocksAttr>() && D->getType()->getAsCXXRecordDecl()) {
1043 !(D->hasAttr<BlocksAttr>() && D->getType()->getAsCXXRecordDecl()) &&
tools/clang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp 73 const auto *BaseClass = BaseClassRegion->getValueType()->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp 1648 const auto *CRD = Type->getUnqualifiedDesugaredType()->getAsCXXRecordDecl();
1923 return Type->getUnqualifiedDesugaredType()->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp 1312 if (!NE->getAllocatedType()->getAsCXXRecordDecl())
1326 if (CtorParamPointeeT->getAsCXXRecordDecl())
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountChecker.cpp 429 if (PT->getAsCXXRecordDecl())
tools/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp 86 if (const auto *RD = PT->getAsCXXRecordDecl())
tools/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp 85 assert(T->getAsCXXRecordDecl());
96 Out << BaseClassT->getAsCXXRecordDecl()->getName() << "::";
467 if (R && !R->getValueType()->getAsCXXRecordDecl())
tools/clang/lib/StaticAnalyzer/Core/CallEvent.cpp 698 const CXXRecordDecl *ParentRecord = T->getAsCXXRecordDecl();
748 const CXXRecordDecl *RD = RegionType->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 998 const CXXRecordDecl *RD = BTy->getAsCXXRecordDecl();
2697 if (const auto *RD = VR->getValueType()->getAsCXXRecordDecl())
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp 612 const CXXRecordDecl *RecordDecl = ObjectType->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 1058 const CXXRecordDecl *Class = Super->getValueType()->getAsCXXRecordDecl();
1066 if (I.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == BaseClass)
1287 if (I.getType()->getAsCXXRecordDecl() == Base)
1357 const CXXRecordDecl *Child = Ty->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1083 if (const auto *RD = TO->getValueType()->getAsCXXRecordDecl()) {
2445 const CXXRecordDecl *BRD = BTy->getAsCXXRecordDecl();
tools/clang/lib/StaticAnalyzer/Core/Store.cpp 237 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl();
243 Expected = Ty->getAsCXXRecordDecl();
281 BaseDecl = BaseType->getAsCXXRecordDecl();
308 return TVR->getValueType()->getAsCXXRecordDecl();
325 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl();
tools/clang/lib/Tooling/Refactoring/Rename/USRLocFinder.cpp 454 if (const auto *RD = Loc.getType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/bugprone/CopyConstructorInitCheck.cpp 61 BaseType->getAsCXXRecordDecl()->getDefinition();
tools/clang/tools/extra/clang-tidy/bugprone/ParentVirtualCallCheck.cpp 33 auto *BaseDecl = Base.getType()->getAsCXXRecordDecl();
44 const auto *BaseDecl = Base.getType()->getAsCXXRecordDecl();
115 const auto *CastToType = CastToTypePtr->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/bugprone/UseAfterMoveCheck.cpp 213 const CXXRecordDecl *RecordDecl = TheType->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/bugprone/VirtualNearMissCheck.cpp 71 const CXXRecordDecl *DRD = DTy->getAsCXXRecordDecl();
72 const CXXRecordDecl *BRD = BTy->getAsCXXRecordDecl();
240 if (const auto *BaseRD = BaseSpec.getType()->getAsCXXRecordDecl()) {
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeCstyleCastCheck.cpp 58 SourceDecl = SourceType->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.cpp 39 if (const CXXRecordDecl *R = F->getType()->getAsCXXRecordDecl())
190 : Init->getBaseClass()->getAsCXXRecordDecl();
337 if (const CXXRecordDecl *ClassDecl = Type->getAsCXXRecordDecl()) {
510 BasesToInit.erase(Init->getBaseClass()->getAsCXXRecordDecl());
tools/clang/tools/extra/clang-tidy/cppcoreguidelines/ProTypeStaticCastDowncastCheck.cpp 37 SourceDecl = SourceType->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/misc/NewDeleteOverloadsCheck.cpp 121 if (const auto *BaseRD = BS.getType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp 67 const CXXRecordDecl *LeftDeleter = LeftDeleterType->getAsCXXRecordDecl();
68 const CXXRecordDecl *RightDeleter = RightDeleterType->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/misc/UnusedUsingDeclsCheck.cpp 135 if (auto *RD = Used->getAsType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/modernize/UseTransparentFunctorsCheck.cpp 109 ParentArgType->getAsCXXRecordDecl() ==
110 Functor->getAsType()->getAsCXXRecordDecl())
tools/clang/tools/extra/clang-tidy/mpi/TypeMismatchCheck.cpp 187 if (Template->getAsCXXRecordDecl()->getName() != "complex")
tools/clang/tools/extra/clang-tidy/performance/MoveConstArgCheck.cpp 79 if (const CXXRecordDecl *R = Arg->getType()->getAsCXXRecordDecl()) {
tools/clang/tools/extra/clang-tidy/performance/MoveConstructorInitCheck.cpp 60 const auto *RD = QT->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/utils/ExceptionAnalyzer.cpp 50 const auto *DerivedClass = DerivedType->getAsCXXRecordDecl();
51 const auto *BaseClass = BaseType->getAsCXXRecordDecl();
tools/clang/tools/extra/clang-tidy/utils/TypeTraits.cpp 22 auto *Record = Type->getAsCXXRecordDecl();
29 auto *Record = Type->getAsCXXRecordDecl();
139 auto *Record = Type->getAsCXXRecordDecl();
145 auto *Record = Type->getAsCXXRecordDecl();
tools/clang/tools/extra/clangd/FindTarget.cpp 278 else if (const CXXRecordDecl *RD = TST->getAsCXXRecordDecl())
tools/clang/tools/extra/clangd/XRefs.cpp 578 if (const auto *CD = QT->getAsCXXRecordDecl())
1169 return VD->getType().getTypePtr()->getAsCXXRecordDecl();
1192 ParentDecl = RT->getAsCXXRecordDecl();
tools/clang/tools/libclang/CXType.cpp 182 if (const auto *RecordDecl = Type->getAsCXXRecordDecl()) {
tools/lldb/source/Symbol/ClangASTContext.cpp 1776 return !ClangASTContext::RecordHasFields(b->getType()->getAsCXXRecordDecl());
2610 clang::CXXRecordDecl *cxx_record_decl = qual_type->getAsCXXRecordDecl();
3077 qual_type->getAsCXXRecordDecl();
3770 pointee_qual_type->getAsCXXRecordDecl();
3858 clang::CXXRecordDecl *cxx_record_decl = qual_type->getAsCXXRecordDecl();
3874 return !qual_type.isNull() && qual_type->getAsCXXRecordDecl() != nullptr;
4125 if (qual_type->getAsCXXRecordDecl())
4203 if (qual_type->getAsCXXRecordDecl())
6099 qual_type->getAsCXXRecordDecl();
6174 qual_type->getAsCXXRecordDecl();
6219 qual_type->getAsCXXRecordDecl();
6342 qual_type->getAsCXXRecordDecl();
7653 qual_type->getAsCXXRecordDecl();
7709 qual_type->getAsCXXRecordDecl();
7852 return GetCanonicalQualType(type)->getAsCXXRecordDecl();
8133 record_qual_type->getAsCXXRecordDecl();
8700 clang::CXXRecordDecl *cxx_record_decl = qual_type->getAsCXXRecordDecl();
9750 qual_type->getAsCXXRecordDecl();
tools/lldb/source/Symbol/ClangASTImporter.cpp 418 qual_type->getAsCXXRecordDecl();
494 qual_type->getAsCXXRecordDecl();