/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 22 auto *Record = Type->getAsCXXRecordDecl(); in classHasTrivialCopyAndDestroy() 29 auto *Record = Type->getAsCXXRecordDecl(); in hasDeletedCopyConstructor() 153 auto *Record = Type->getAsCXXRecordDecl(); in hasNonTrivialMoveConstructor() 159 auto *Record = Type->getAsCXXRecordDecl(); in hasNonTrivialMoveAssignment()
|
D | ExceptionAnalyzer.cpp | 50 const auto *DerivedClass = DerivedType->getAsCXXRecordDecl(); in isBaseOf() 51 const auto *BaseClass = BaseType->getAsCXXRecordDecl(); in isBaseOf()
|
/external/llvm-project/clang/lib/Analysis/ |
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()
|
/external/llvm-project/clang/lib/AST/ |
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()
|
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 …]
|
D | ComparisonCategories.cpp | 50 auto *Record = VD->getType()->getAsCXXRecordDecl(); in hasValidIntValue() 128 auto *RD = Ty->getAsCXXRecordDecl(); in lookupInfoForType()
|
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 …]
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | ParentVirtualCallCheck.cpp | 33 auto *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in isParentOf() 44 const auto *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in getParentsByGrandParent() 117 const auto *CastToType = CastToTypePtr->getAsCXXRecordDecl(); in check()
|
D | VirtualNearMissCheck.cpp | 71 const CXXRecordDecl *DRD = DTy->getAsCXXRecordDecl(); in checkOverridingFunctionReturnType() 72 const CXXRecordDecl *BRD = BTy->getAsCXXRecordDecl(); in checkOverridingFunctionReturnType() 237 if (const auto *BaseRD = BaseSpec.getType()->getAsCXXRecordDecl()) { in check()
|
D | CopyConstructorInitCheck.cpp | 58 BaseType->getAsCXXRecordDecl()->getDefinition(); in check()
|
/external/clang/lib/AST/ |
D | RecordLayoutBuilder.cpp | 189 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 215 const CXXRecordDecl *MemberDecl = RT->getAsCXXRecordDecl(); in ComputeEmptySubobjectSizes() 394 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 404 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 437 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) in CanPlaceFieldSubobjectAtOffset() 447 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in CanPlaceFieldSubobjectAtOffset() 500 const CXXRecordDecl *BaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 509 const CXXRecordDecl *VBaseDecl = Base.getType()->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() 532 if (const CXXRecordDecl *RD = T->getAsCXXRecordDecl()) { in UpdateEmptyFieldSubobjects() 544 const CXXRecordDecl *RD = RT->getAsCXXRecordDecl(); in UpdateEmptyFieldSubobjects() [all …]
|
D | VTableBuilder.cpp | 234 VirtualBase = VBaseType->getAsCXXRecordDecl(); in ComputeBaseOffset() 246 const CXXRecordDecl *Base = Element.Base->getType()->getAsCXXRecordDecl(); in ComputeBaseOffset() 348 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in ComputeBaseOffsets() 384 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in dump() 725 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVCallOffsets() 746 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in AddVBaseOffsets() 1746 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutSecondaryVTables() 1820 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in DeterminePrimaryVirtualBases() 1849 const CXXRecordDecl *BaseDecl = B.getType()->getAsCXXRecordDecl(); in LayoutVTablesForVirtualBases() 2320 RD->vbases_begin()->getType()->getAsCXXRecordDecl(); in computeVTableRelatedInformation() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | Store.cpp | 224 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 230 Expected = Ty->getAsCXXRecordDecl(); in regionMatchesCXXRecordType() 271 BaseDecl = BaseType->getAsCXXRecordDecl(); in evalDerivedToBase() 289 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType() 306 const CXXRecordDecl *TargetClass = TargetType->getAsCXXRecordDecl(); in evalDynamicCast()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseTransparentFunctorsCheck.cpp | 106 ParentArgType->getAsCXXRecordDecl() == in check() 107 Functor->getAsType()->getAsCXXRecordDecl()) in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | UniqueptrResetReleaseCheck.cpp | 62 const CXXRecordDecl *LeftDeleter = LeftDeleterType->getAsCXXRecordDecl(); in areDeletersCompatible() 63 const CXXRecordDecl *RightDeleter = RightDeleterType->getAsCXXRecordDecl(); in areDeletersCompatible()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLocalVarsChecker.cpp | 60 if (auto *CXXRD = T->getAsCXXRecordDecl()) { in isRefcountedStringsHack() 195 MaybeGuardianArgType->getAsCXXRecordDecl(); in visitVarDecl()
|
/external/llvm-project/clang/lib/Index/ |
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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.cpp | 39 if (const CXXRecordDecl *R = F->getType()->getAsCXXRecordDecl()) in forEachField() 190 : Init->getBaseClass()->getAsCXXRecordDecl(); in computeInsertions() 334 if (const CXXRecordDecl *ClassDecl = Type->getAsCXXRecordDecl()) { in isEmpty() 507 BasesToInit.erase(Init->getBaseClass()->getAsCXXRecordDecl()); in checkMissingBaseClassInitializer()
|
D | ProTypeStaticCastDowncastCheck.cpp | 34 SourceDecl = SourceType->getAsCXXRecordDecl(); in check()
|
D | ProTypeCstyleCastCheck.cpp | 55 SourceDecl = SourceType->getAsCXXRecordDecl(); in check()
|
/external/llvm-project/clang-tools-extra/clang-tidy/performance/ |
D | MoveConstructorInitCheck.cpp | 57 const auto *RD = QT->getAsCXXRecordDecl(); in check()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/UninitializedObject/ |
D | UninitializedObjectChecker.cpp | 85 assert(T->getAsCXXRecordDecl()); in BaseClass() 96 Out << BaseClassT->getAsCXXRecordDecl()->getName() << "::"; in printNode() 467 if (R && !R->getValueType()->getAsCXXRecordDecl()) in getConstructedRegion()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CastValueChecker.cpp | 109 CastInfo ? CastInfo->to()->getAsCXXRecordDecl()->getNameAsString() in getNoteTag() 165 CastToTy->getAsCXXRecordDecl() ? in getNoteTag() 166 CastToTy->getAsCXXRecordDecl()->getNameAsString() : in getNoteTag()
|
D | DeleteWithNonVirtualDtorChecker.cpp | 73 const auto *BaseClass = BaseClassRegion->getValueType()->getAsCXXRecordDecl(); in checkPreStmt()
|