/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/ |
H A D | ConstructionContext.cpp | 54 if (!BTE && !(MTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createMaterializedTemporaryFromLayers() 112 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers() 122 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers() 155 ->getAsCXXRecordDecl()->hasTrivialDestructor()); in createBoundTemporaryFromLayers() 193 assert(BTE->getType().getCanonicalType()->getAsCXXRecordDecl() in createFromLayers()
|
H A D | Consumed.cpp | 147 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isConsumableType() 157 if (const CXXRecordDecl *RD = QT->getAsCXXRecordDecl()) in isAutoCastType() 197 QT->getAsCXXRecordDecl()->getAttr<ConsumableAttr>(); in mapConsumableAttrState() 1207 const CXXRecordDecl *RD = ReturnType->getAsCXXRecordDecl(); in determineExpectedReturnState()
|
H A D | CFG.cpp | 728 if (Arg->getType()->getAsCXXRecordDecl() && !Arg->isGLValue()) in findConstructionContextsForArguments() 1442 assert(!CO->getType()->getAsCXXRecordDecl() || CO->isGLValue() || in findConstructionContexts() 1864 if (Ty->getAsCXXRecordDecl()->isAnyDestructorNoReturn()) in addAutomaticObjDtors() 1888 const CXXRecordDecl *CD = VI.getType()->getAsCXXRecordDecl(); in addImplicitDtorsForDestructor() 1898 const CXXRecordDecl *CD = BI.getType()->getAsCXXRecordDecl(); in addImplicitDtorsForDestructor() 1916 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl()) in addImplicitDtorsForDestructor() 2008 if (const CXXRecordDecl *CD = QT->getAsCXXRecordDecl()) in hasTrivialDestructor() 4587 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr() 5040 const CXXRecordDecl *classDecl = ty->getAsCXXRecordDecl(); in getDestructorDecl() 5049 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | ASTImporterLookupTable.cpp | 59 LT.add(RTy->getAsCXXRecordDecl()); in VisitFriendDecl() 61 LT.add(SpecTy->getAsCXXRecordDecl()); in VisitFriendDecl() 64 if (SubstTy->getAsCXXRecordDecl()) in VisitFriendDecl() 65 LT.add(SubstTy->getAsCXXRecordDecl()); in VisitFriendDecl()
|
H A D | RecordLayoutBuilder.cpp | 190 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 216 const CXXRecordDecl *MemberDecl = RT->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 395 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 405 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 438 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in CanPlaceFieldSubobjectAtOffset() 448 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 506 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 516 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 540 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) { in UpdateEmptyFieldSubobjects() 552 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() [all …]
|
H A D | VTableBuilder.cpp | 233 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset() 245 const CXXRecordDecl *Base = Element.Base->getType()->getAsCXXRecordDecl(); in ComputeBaseOffset() 347 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in ComputeBaseOffsets() 383 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in dump() 732 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVCallOffsets() 753 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVBaseOffsets() 1751 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutSecondaryVTables() 1825 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in DeterminePrimaryVirtualBases() 1854 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutVTablesForVirtualBases() 2348 RD->vbases_begin()->getType()->getAsCXXRecordDecl(); in computeVTableRelatedInformation() [all …]
|
H A D | ComparisonCategories.cpp | 50 auto *Record = VD->getType()->getAsCXXRecordDecl(); in hasValidIntValue() 128 auto *RD = Ty->getAsCXXRecordDecl(); in lookupInfoForType()
|
H A D | QualTypeNames.cpp | 245 TD = Type->getAsCXXRecordDecl(); in getFullyQualifiedNestedNameSpecifier() 330 Decl = TypePtr->getAsCXXRecordDecl(); in createNestedNameSpecifierForScopeOf()
|
H A D | DeclCXX.cpp | 181 if (const CXXRecordDecl *B = BaseSpec.getType()->getAsCXXRecordDecl()) { in hasRepeatedBaseClass() 305 if (CXXRecordDecl *VBaseDecl = VBase.getType()->getAsCXXRecordDecl()) in setBases() 481 addedClassSubobject(Type->getAsCXXRecordDecl()); in setBases() 659 if (auto *RD = T->getAsCXXRecordDecl()) in hasSubobjectAtOffsetZeroOfEmptyBaseType() 1089 if (CXXRecordDecl *FieldType = T->getAsCXXRecordDecl()) { in addedMember() 1103 Field->getType()->getAsCXXRecordDecl()->hasInClassInitializer())) { in addedMember() 1899 if (const CXXRecordDecl *RD = Base.getType()->getAsCXXRecordDecl()) in isAnyDestructorNoReturn() 1906 Field->getType()->getBaseElementTypeUnsafe()->getAsCXXRecordDecl()) in isAnyDestructorNoReturn() 1968 const auto *Base = BaseSpec.getType()->getAsCXXRecordDecl(); in isInterfaceLike()
|
H A D | ExprCXX.cpp | 142 if (const CXXRecordDecl *RD = E->getType()->getAsCXXRecordDecl()) in isPotentiallyEvaluated() 682 return ThisArg->getType()->getPointeeType()->getAsCXXRecordDecl(); in getRecordDecl() 684 return ThisArg->getType()->getAsCXXRecordDecl(); in getRecordDecl() 1251 return getType()->getAsCXXRecordDecl(); in getLambdaClass() 1537 Record = T->getAsCXXRecordDecl(); in getNamingClass() 1546 Record = BaseType->getAsCXXRecordDecl(); in getNamingClass()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/ |
H A D | Store.cpp | 238 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 244 Expected = Ty->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 282 BaseDecl = BaseType->getAsCXXRecordDecl(); in evalDerivedToBase() 309 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType() 326 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in attemptDownCast()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/ |
H A D | IndexTypeSourceInfo.cpp | 67 if (auto *CD = TL.getType()->getAsCXXRecordDecl()) { in VisitTypedefTypeLoc() 159 T->getTemplateName(), TL.getTemplateNameLoc(), T->getAsCXXRecordDecl(), in VisitTemplateSpecializationTypeLoc() 189 T->getTemplateName(), TL.getTemplateNameLoc(), T->getAsCXXRecordDecl(), in VisitDeducedTemplateSpecializationTypeLoc()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | UncountedLocalVarsChecker.cpp | 60 if (auto *CXXRD = T->getAsCXXRecordDecl()) { in isRefcountedStringsHack() 195 MaybeGuardianArgType->getAsCXXRecordDecl(); in visitVarDecl()
|
H A D | PtrTypesSemantics.cpp | 56 const CXXRecordDecl *R = T->getAsCXXRecordDecl(); in isRefCountable()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
H A D | UninitializedObjectChecker.cpp | 85 assert(T->getAsCXXRecordDecl()); in BaseClass() 96 Out << BaseClassT->getAsCXXRecordDecl()->getName() << "::"; in printNode() 467 if (R && !R->getValueType()->getAsCXXRecordDecl()) in getConstructedRegion()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastValueChecker.cpp | 109 CastInfo ? CastInfo->to()->getAsCXXRecordDecl()->getNameAsString() in getNoteTag() 165 CastToTy->getAsCXXRecordDecl() ? in getNoteTag() 166 CastToTy->getAsCXXRecordDecl()->getNameAsString() : in getNoteTag()
|
H A D | DeleteWithNonVirtualDtorChecker.cpp | 73 const auto *BaseClass = BaseClassRegion->getValueType()->getAsCXXRecordDecl(); in checkPreStmt()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 107 auto *RD = CoroTrait->getAsCXXRecordDecl(); in lookupPromiseType() 131 if (!PromiseType->getAsCXXRecordDecl()) { in lookupPromiseType() 365 << NameInfo.getName() << Base->getType()->getAsCXXRecordDecl() in buildMemberCall() 862 auto *RD = Promise->getType()->getAsCXXRecordDecl(); in BuildUnresolvedCoawaitExpr() 1070 auto *PointeeRD = PromiseType->getAsCXXRecordDecl(); in findDeleteForPromise() 1137 PromiseRecordDecl = Fn.CoroutinePromise->getType()->getAsCXXRecordDecl(); in CoroutineStmtBuilder() 1675 if (PD->getType()->getAsCXXRecordDecl() || in buildCoroutineParameterMoves()
|
H A D | SemaCUDA.cpp | 533 if (CXXRecordDecl *RD = BS.getType()->getAsCXXRecordDecl()) in isEmptyCudaDestructor() 543 ->getAsCXXRecordDecl()) in isEmptyCudaDestructor() 582 if (CXXRecordDecl *RD = VD->getType()->getAsCXXRecordDecl()) in checkAllowedCUDAInitializer()
|
H A D | SemaExprCXX.cpp | 417 Destroyed = SearchType->getAsCXXRecordDecl(); in getDestructorName() 902 CXXRecordDecl *BaseDecl = BS.getType()->getAsCXXRecordDecl(); in collectPublicBases() 973 CXXRecordDecl *RD = Ty->getAsCXXRecordDecl(); in CheckCXXThrowOperand() 1389 CXXRecordDecl *Class = BaseType->getAsCXXRecordDecl(); in isThisOutsideMemberFunctionBody() 2617 LookupQualifiedName(R, AllocElemType->getAsCXXRecordDecl()); in FindAllocationFunctions() 4671 if (const auto *RD = ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 4681 if (ArgTy->getAsCXXRecordDecl()) in CheckUnaryTypeTraitTypeCompleteness() 4847 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 4851 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() 4855 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in EvaluateUnaryTypeTrait() [all …]
|
H A D | SemaFixItUtils.cpp | 208 const CXXRecordDecl *RD = T->getAsCXXRecordDecl(); in getFixItZeroInitializerForType()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGVTables.cpp | 91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment() 1235 if (B.getType()->getAsCXXRecordDecl()->isDynamicClass()) in GetVCallVisibilityLevel() 1238 GetVCallVisibilityLevel(B.getType()->getAsCXXRecordDecl(), Visited)); in GetVCallVisibilityLevel() 1241 if (B.getType()->getAsCXXRecordDecl()->isDynamicClass()) in GetVCallVisibilityLevel() 1244 GetVCallVisibilityLevel(B.getType()->getAsCXXRecordDecl(), Visited)); in GetVCallVisibilityLevel()
|
H A D | CGRecordLayoutBuilder.cpp | 523 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateBases() 666 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateVBases() 679 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in accumulateVBases() 707 if (!hasOwnStorage(Base.getType()->getAsCXXRecordDecl(), Query)) in hasOwnStorage()
|
H A D | MicrosoftCXXABI.cpp | 349 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in getAddrOfVirtualDisplacementMap() 921 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in performBaseAdjustment() 935 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in performBaseAdjustment() 954 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldTypeidBeNullChecked() 988 const CXXRecordDecl *SrcDecl = SrcRecordTy->getAsCXXRecordDecl(); in shouldDynamicCastCallBeNullChecked() 1107 const CXXRecordDecl *RD = FI.getReturnType()->getAsCXXRecordDecl(); in classifyReturnType() 1209 const CXXRecordDecl *VBase = S.getType()->getAsCXXRecordDecl(); in initializeHiddenVirtualInheritanceMembers() 2158 const CXXRecordDecl *VBase = I.getType()->getAsCXXRecordDecl(); in emitVBTableDefinition() 2826 if (BS.getType()->getAsCXXRecordDecl()->getCanonicalDecl() == in EmitMemberPointer() 3612 serializeClassHierarchy(Classes, Base.getType()->getAsCXXRecordDecl()); in serializeClassHierarchy() [all …]
|
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/ |
H A D | RecursiveSymbolVisitor.h | 103 return visit(TP->getAsCXXRecordDecl(), TypeBeginLoc, TypeEndLoc); in VisitTypeLoc()
|