Home
last modified time | relevance | path

Searched defs:ClassDecl (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeMemberInitCheck.cpp233 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 DCGClass.cpp778 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 DItaniumCXXABI.cpp1225 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 DCGVTables.cpp91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); in PerformReturnAdjustment() local
H A DCGObjCGNU.cpp3480 ObjCInterfaceDecl *ClassDecl = in RegisterAlias() local
3499 ObjCInterfaceDecl *ClassDecl = in GenerateClass() local
H A DCGObjC.cpp80 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); in EmitObjCBoxedExpr() local
H A DMicrosoftCXXABI.cpp1056 CodeGenFunction &CGF, Address This, const CXXRecordDecl *ClassDecl, in GetVirtualBaseClassOffset()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DAvoidNSObjectNewCheck.cpp41 static bool isInitMethodAvailable(const ObjCInterfaceDecl *ClassDecl) { in isInitMethodAvailable()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DTypeTraits.cpp53 const auto *ClassDecl = dyn_cast<CXXRecordDecl>(&RecordDecl); in recordIsTriviallyDefaultConstructible() local
H A DRenamerClangTidyCheck.cpp327 if (const auto *ClassDecl = dyn_cast<TemplateDecl>(Decl)) { in check() local
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DUseDefaultMemberInitCheck.cpp250 const auto *ClassDecl = cast<CXXRecordDecl>(Field->getParent()); in checkDefaultInit() local
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCUDA.cpp324 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember()
521 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local
H A DSemaDeclCXX.cpp2835 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 DSemaObjCProperty.cpp193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() local
839 ObjCInterfaceDecl *ClassDecl, in SelectPropertyForSynthesisFromProtocols()
H A DSemaPseudoObject.cpp238 if (const CXXRecordDecl *ClassDecl = ty->getAsCXXRecordDecl()) in CanCaptureValue() local
H A DSemaExprObjC.cpp2994 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) { in BuildInstanceMessage() local
3041 ObjCInterfaceDecl *ClassDecl = nullptr; in BuildInstanceMessage() local
H A DSemaDeclObjC.cpp3981 Decl *ClassDecl = OCD; in ActOnAtEnd() local
4725 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnMethodDeclaration() local
H A DSemaCodeComplete.cpp6773 CXXRecordDecl *ClassDecl = Constructor->getParent(); in CodeCompleteConstructorInitializer() local
8155 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) in CodeCompleteObjCInstanceMessage() local
H A DSemaOverload.cpp8121 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 DType.cpp94 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 DDeclObjC.cpp261 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 DRewriteModernObjC.cpp842 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 DRewriteObjC.cpp758 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 DParseDeclCXX.cpp2091 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 DASTMatchFinder.cpp1375 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); in classIsDerivedFrom() local
1400 for (const ObjCInterfaceDecl *ClassDecl = Declaration->getSuperClass(); in objcClassIsDerivedFrom() local

12