| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProTypeMemberInitCheck.cpp | 233 void getInitializationsInOrder(const CXXRecordDecl &ClassDecl, in getInitializationsInOrder() 355 if (const CXXRecordDecl *ClassDecl = Type->getAsCXXRecordDecl()) { in isEmpty() local 412 ASTContext &Context, const CXXRecordDecl &ClassDecl, in checkMissingMemberInitializer() 512 const ASTContext &Context, const CXXRecordDecl &ClassDecl, in checkMissingBaseClassInitializer()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 778 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local 996 const CXXRecordDecl *ClassDecl; member in __anon858dc5ae0311::FieldMemcpyizer 1275 const CXXRecordDecl *ClassDecl = CD->getParent(); in EmitCtorPrologue() local 1416 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() local 1580 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local 1598 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in EmitConditionalDtorDeleteCall() local 1825 const CXXRecordDecl *ClassDecl = DD->getParent(); in EnterDtorCleanups() local 1837 const CXXRecordDecl *ClassDecl = DD->getParent(); in EnterDtorCleanups() local 2163 const CXXRecordDecl *ClassDecl = D->getParent(); in EmitCXXConstructorCall() local 2454 const CXXRecordDecl *ClassDecl = Ctor->getParent(); in EmitDelegatingCXXConstructorCall() local [all …]
|
| H A D | ItaniumCXXABI.cpp | 1225 auto *ClassDecl = in emitVirtualObjectDelete() local 1429 auto *ClassDecl = in EmitTypeid() local 1505 auto *ClassDecl = in EmitDynamicCastToVoid() local 1550 const CXXRecordDecl *ClassDecl, in GetVirtualBaseClassOffset()
|
| H A D | CGVTables.cpp | 91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment() local
|
| H A D | CGObjCGNU.cpp | 3480 ObjCInterfaceDecl *ClassDecl = in RegisterAlias() local 3499 ObjCInterfaceDecl *ClassDecl = in GenerateClass() local
|
| H A D | CGObjC.cpp | 80 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() local
|
| H A D | MicrosoftCXXABI.cpp | 1056 CodeGenFunction &CGF, Address This, const CXXRecordDecl *ClassDecl, in GetVirtualBaseClassOffset()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/ |
| H A D | AvoidNSObjectNewCheck.cpp | 41 static bool isInitMethodAvailable(const ObjCInterfaceDecl *ClassDecl) { in isInitMethodAvailable()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | TypeTraits.cpp | 53 const auto *ClassDecl = dyn_cast<CXXRecordDecl>(&RecordDecl); in recordIsTriviallyDefaultConstructible() local
|
| H A D | RenamerClangTidyCheck.cpp | 327 if (const auto *ClassDecl = dyn_cast<TemplateDecl>(Decl)) { in check() local
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/ |
| H A D | UseDefaultMemberInitCheck.cpp | 250 const auto *ClassDecl = cast<CXXRecordDecl>(Field->getParent()); in checkDefaultInit() local
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaCUDA.cpp | 324 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() 521 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local
|
| H A D | SemaDeclCXX.cpp | 2835 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers() 4088 CXXRecordDecl *ClassDecl, in FindBaseInitializer() 4185 CXXRecordDecl *ClassDecl; member in __anonc19065b01111::MemInitializerValidatorCCC 4234 CXXRecordDecl *ClassDecl = Constructor->getParent(); in BuildMemInitializer() local 5711 SourceLocation Location, CXXRecordDecl *ClassDecl, in MarkVirtualBaseDestructorsReferenced() 10516 CXXRecordDecl *ClassDecl in CheckConstructor() local 13285 CXXRecordDecl *ClassDecl = MD->getParent(); in ComputeDefaultedSpecialMemberExceptionSpec() local 13483 CXXRecordDecl *ClassDecl = Constructor->getParent(); in DefineImplicitDefaultConstructor() local 13615 CXXRecordDecl *ClassDecl = Constructor->getParent(); in DefineInheritingConstructor() local 13770 CXXRecordDecl *ClassDecl = Destructor->getParent(); in DefineImplicitDestructor() local [all …]
|
| H A D | SemaObjCProperty.cpp | 193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() local 839 ObjCInterfaceDecl *ClassDecl, in SelectPropertyForSynthesisFromProtocols()
|
| H A D | SemaPseudoObject.cpp | 238 if (const CXXRecordDecl *ClassDecl = ty->getAsCXXRecordDecl()) in CanCaptureValue() local
|
| H A D | SemaExprObjC.cpp | 2994 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) { in BuildInstanceMessage() local 3041 ObjCInterfaceDecl *ClassDecl = nullptr; in BuildInstanceMessage() local
|
| H A D | SemaDeclObjC.cpp | 3981 Decl *ClassDecl = OCD; in ActOnAtEnd() local 4725 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration() local
|
| H A D | SemaCodeComplete.cpp | 6773 CXXRecordDecl *ClassDecl = Constructor->getParent(); in CodeCompleteConstructorInitializer() local 8155 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage() local
|
| H A D | SemaOverload.cpp | 8121 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(TyRec->getDecl()); in AddTypesConvertedFrom() local 8190 CXXRecordDecl *ClassDecl = cast<CXXRecordDecl>(TyRec->getDecl()); in CollectVRQualifiers() local
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | Type.cpp | 94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass() local 99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass() local 2212 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(Record->getDecl())) in isAggregateType() local 2408 if (const auto *ClassDecl = in isCXX98PODType() local 2451 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isTrivialType() local 2497 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isTriviallyCopyableType() local 2631 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) in isLiteralType() local 2684 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) in isStandardLayoutType() local 2726 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isCXX11PODType() local
|
| H A D | DeclObjC.cpp | 261 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local 639 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local 670 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local 702 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local 1387 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 842 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); in getIvarAccessString() local 1061 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() 1382 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() 3241 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 3335 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 6615 ObjCInterfaceDecl *ClassDecl, in Write_category_t() 7266 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local 7350 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteCategorySetupInitHook() local
|
| H A D | RewriteObjC.cpp | 758 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface(); in getIvarAccessString() local 905 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() 1205 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() 2668 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 2761 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 5618 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseDeclCXX.cpp | 2091 void Parser::ParseBaseClause(Decl *ClassDecl) { in ParseBaseClause() 2131 BaseResult Parser::ParseBaseSpecifier(Decl *ClassDecl) { in ParseBaseSpecifier() 4029 Sema::ParsingClassState Parser::PushParsingClass(Decl *ClassDecl, in PushParsingClass()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/ |
| H A D | ASTMatchFinder.cpp | 1375 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); in classIsDerivedFrom() local 1400 for (const ObjCInterfaceDecl *ClassDecl = Declaration->getSuperClass(); in objcClassIsDerivedFrom() local
|