/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.cpp | 216 void getInitializationsInOrder(const CXXRecordDecl &ClassDecl, in getInitializationsInOrder() 334 if (const CXXRecordDecl *ClassDecl = Type->getAsCXXRecordDecl()) { in isEmpty() local 391 ASTContext &Context, const CXXRecordDecl &ClassDecl, in checkMissingMemberInitializer() 481 const ASTContext &Context, const CXXRecordDecl &ClassDecl, in checkMissingBaseClassInitializer()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGClass.cpp | 196 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, in GetNonVirtualBaseClassOffset() 558 const CXXRecordDecl *ClassDecl, in EmitBaseInitializer() 631 const CXXRecordDecl *ClassDecl, in EmitMemberInitializer() 780 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local 918 FieldMemcpyizer(CodeGenFunction &CGF, const CXXRecordDecl *ClassDecl, in FieldMemcpyizer() 998 const CXXRecordDecl *ClassDecl; member in __anon67dd02f50311::FieldMemcpyizer 1285 const CXXRecordDecl *ClassDecl = CD->getParent(); in EmitCtorPrologue() local 1426 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() local 1585 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local 1603 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in EmitConditionalDtorDeleteCall() local [all …]
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 175 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, in GetNonVirtualBaseClassOffset() 521 const CXXRecordDecl *ClassDecl, in EmitBaseInitializer() 696 const CXXRecordDecl *ClassDecl, in EmitMemberInitializer() 856 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local 995 FieldMemcpyizer(CodeGenFunction &CGF, const CXXRecordDecl *ClassDecl, in FieldMemcpyizer() 1072 const CXXRecordDecl *ClassDecl; member in __anond18ebf870311::FieldMemcpyizer 1358 const CXXRecordDecl *ClassDecl = CD->getParent(); in EmitCtorPrologue() local 1486 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in CanSkipVTablePointerInitialization() local 1620 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local 1644 const CXXRecordDecl *ClassDecl = Dtor->getParent(); in Emit() local [all …]
|
D | ItaniumCXXABI.cpp | 1007 auto *ClassDecl = in emitVirtualObjectDelete() local 1209 auto *ClassDecl = in EmitTypeid() local 1275 auto *ClassDecl = in EmitDynamicCastToVoid() local 1306 const CXXRecordDecl *ClassDecl, in GetVirtualBaseClassOffset()
|
D | CGVTables.cpp | 105 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment() local
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 225 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() 409 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local
|
D | SemaDeclCXX.cpp | 1657 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers() 2747 CXXRecordDecl *ClassDecl, in FindBaseInitializer() 2828 explicit MemInitializerValidatorCCC(CXXRecordDecl *ClassDecl) in MemInitializerValidatorCCC() 2841 CXXRecordDecl *ClassDecl; member in __anon8db09aa90311::MemInitializerValidatorCCC 2877 CXXRecordDecl *ClassDecl = Constructor->getParent(); in BuildMemInitializer() local 3138 CXXRecordDecl *ClassDecl) { in BuildDelegatingInitializer() 3194 Expr *Init, CXXRecordDecl *ClassDecl, in BuildBaseInitializer() 3874 CXXRecordDecl *ClassDecl = Constructor->getParent()->getDefinition(); in SetCtorInitializers() local 4074 const CXXRecordDecl *ClassDecl = Constructor->getParent(); in DiagnoseBaseOrMemInitializerOrder() local 4275 CXXRecordDecl *ClassDecl) { in MarkBaseAndMemberDestructorsReferenced() [all …]
|
D | SemaObjCProperty.cpp | 198 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() local 814 ObjCInterfaceDecl *ClassDecl, in DiagnosePropertyMismatchDeclInProtocols()
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidNSObjectNewCheck.cpp | 41 static bool isInitMethodAvailable(const ObjCInterfaceDecl *ClassDecl) { in isInitMethodAvailable()
|
/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 53 const auto *ClassDecl = dyn_cast<CXXRecordDecl>(&RecordDecl); in recordIsTriviallyDefaultConstructible() local
|
D | RenamerClangTidyCheck.cpp | 327 if (const auto *ClassDecl = dyn_cast<TemplateDecl>(Decl)) { in check() local
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaCUDA.cpp | 281 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() 481 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local
|
D | SemaDeclCXX.cpp | 2770 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers() 4015 CXXRecordDecl *ClassDecl, in FindBaseInitializer() 4095 explicit MemInitializerValidatorCCC(CXXRecordDecl *ClassDecl) in MemInitializerValidatorCCC() 4112 CXXRecordDecl *ClassDecl; member in __anonedc74bd71111::MemInitializerValidatorCCC 4117 ValueDecl *Sema::tryLookupCtorInitMemberDecl(CXXRecordDecl *ClassDecl, in tryLookupCtorInitMemberDecl() 4164 CXXRecordDecl *ClassDecl = Constructor->getParent(); in BuildMemInitializer() local 4384 CXXRecordDecl *ClassDecl) { in BuildDelegatingInitializer() 4441 Expr *Init, CXXRecordDecl *ClassDecl, in BuildBaseInitializer() 5057 CXXRecordDecl *ClassDecl = Constructor->getParent()->getDefinition(); in SetCtorInitializers() local 5257 const CXXRecordDecl *ClassDecl = Constructor->getParent(); in DiagnoseBaseOrMemInitializerOrder() local [all …]
|
D | SemaObjCProperty.cpp | 195 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() local 846 ObjCInterfaceDecl *ClassDecl, in SelectPropertyForSynthesisFromProtocols()
|
/external/llvm-project/clang/lib/AST/ |
D | Type.cpp | 94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass() local 99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass() local 2184 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(Record->getDecl())) in isAggregateType() local 2377 if (const auto *ClassDecl = in isCXX98PODType() local 2420 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isTrivialType() local 2466 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isTriviallyCopyableType() local 2581 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) in isLiteralType() local 2634 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) in isStandardLayoutType() local 2676 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isCXX11PODType() local
|
D | DeclObjC.cpp | 249 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local 631 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local 662 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local 694 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local 1370 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 225 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local 600 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local 631 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local 663 const ObjCInterfaceDecl* ClassDecl = this; in lookupMethod() local 1270 const ObjCInterfaceDecl *ClassDecl = nullptr; in findPropertyDecl() local
|
D | Type.cpp | 1870 if (CXXRecordDecl *ClassDecl = dyn_cast<CXXRecordDecl>(Record->getDecl())) in isAggregateType() local 2026 if (CXXRecordDecl *ClassDecl in isCXX98PODType() local 2080 if (const CXXRecordDecl *ClassDecl = in isTrivialType() local 2141 if (const CXXRecordDecl *ClassDecl = in isTriviallyCopyableType() local 2202 if (const CXXRecordDecl *ClassDecl = in isLiteralType() local 2240 if (const CXXRecordDecl *ClassDecl = in isStandardLayoutType() local 2292 if (const CXXRecordDecl *ClassDecl = in isCXX11PODType() local
|
/external/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 1836 void Parser::ParseBaseClause(Decl *ClassDecl) { in ParseBaseClause() 1876 BaseResult Parser::ParseBaseSpecifier(Decl *ClassDecl) { in ParseBaseSpecifier() 3548 Parser::PushParsingClass(Decl *ClassDecl, bool NonNestedClass, in PushParsingClass()
|
/external/llvm-project/clang/lib/Parse/ |
D | ParseDeclCXX.cpp | 2044 void Parser::ParseBaseClause(Decl *ClassDecl) { in ParseBaseClause() 2084 BaseResult Parser::ParseBaseSpecifier(Decl *ClassDecl) { in ParseBaseSpecifier() 3920 Parser::PushParsingClass(Decl *ClassDecl, bool NonNestedClass, in PushParsingClass()
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 841 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); in getIvarAccessString() local 1060 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() 1381 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() 3240 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 3339 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 6626 ObjCInterfaceDecl *ClassDecl, in Write_category_t() 7277 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local 7361 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteCategorySetupInitHook() local
|
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 2766 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 5630 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 837 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); in getIvarAccessString() local 1058 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() 1374 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() 3240 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 3338 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 6627 ObjCInterfaceDecl *ClassDecl, in Write_category_t() 7277 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local 7361 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteCategorySetupInitHook() local
|
D | RewriteObjC.cpp | 757 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface(); in getIvarAccessString() local 901 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() 1196 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() 2658 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 2755 ObjCInterfaceDecl *ClassDecl = CurMethodDef->getClassInterface(); in SynthMessageExpr() local 5623 ObjCInterfaceDecl *ClassDecl = IDecl->getClassInterface(); in RewriteObjCCategoryImplDecl() local
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 1023 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); in classIsDerivedFrom() local 1048 for (const ObjCInterfaceDecl *ClassDecl = Declaration->getSuperClass(); in objcClassIsDerivedFrom() local
|