Home
last modified time | relevance | path

Searched refs:ObjCImplementationDecl (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp65 check::ASTDecl<ObjCImplementationDecl> > {
69 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
72 bool isCheckableClass(const ObjCImplementationDecl *D,
88 bool ObjCSuperCallChecker::isCheckableClass(const ObjCImplementationDecl *D, in isCheckableClass()
164 void ObjCSuperCallChecker::checkASTDecl(const ObjCImplementationDecl *D, in checkASTDecl()
H A DObjCUnusedIVarsChecker.cpp81 if (const ObjCImplementationDecl *ID = dyn_cast<ObjCImplementationDecl>(D)) { in Scan()
105 static void checkObjCUnusedIvar(const ObjCImplementationDecl *D, in checkObjCUnusedIvar()
174 check::ASTDecl<ObjCImplementationDecl> > {
176 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
H A DCheckObjCInstMethSignature.cpp42 const ObjCImplementationDecl *ID, in CompareReturnTypes()
76 static void CheckObjCInstMethSignature(const ObjCImplementationDecl *ID, in CheckObjCInstMethSignature()
126 check::ASTDecl<ObjCImplementationDecl> > {
128 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
H A DDirectIvarAssignment.cpp52 public Checker<check::ASTDecl<ObjCImplementationDecl> > {
90 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr,
116 void DirectIvarAssignment::checkASTDecl(const ObjCImplementationDecl *D, in checkASTDecl()
H A DCheckObjCDealloc.cpp94 : public Checker<check::ASTDecl<ObjCImplementationDecl>,
119 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr,
195 void ObjCDeallocChecker::checkASTDecl(const ObjCImplementationDecl *D, in REGISTER_SET_FACTORY_WITH_PROGRAMSTATE()
H A DLocalizationChecker.cpp1031 : public Checker<check::ASTDecl<ObjCImplementationDecl>> {
1062 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
1068 const ObjCImplementationDecl *D, AnalysisManager &Mgr, in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp767 if (ObjCImplementationDecl *ImpDecl = getImplementation()) in lookupPrivateMethod()
975 if (ObjCImplementationDecl *ImplD = Ctx.getObjCImplementation(IFD)) in getNextRedeclarationImpl()
984 } else if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclarationImpl()
1016 if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
1621 ObjCImplementationDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1623 const_cast<ObjCImplementationDecl*>(this)->getClassInterface()) in getObjCRuntimeNameAsString()
1629 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1642 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1711 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin()
1850 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
[all …]
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.h61 ObjCImplementationDecl *ImpD;
65 ObjCImplementationDecl *D) in ObjCImplementationContext()
69 ObjCImplementationDecl *getImplementationDecl() { return ImpD; } in getImplementationDecl()
H A DObjCMT.cpp52 const ObjCImplementationDecl *ImpDecl);
85 const ObjCImplementationDecl *ImplD);
172 if (const ObjCImplementationDecl *Impl = dyn_cast<ObjCImplementationDecl>(D)) in canModify()
599 const ObjCImplementationDecl *ImpDecl, in ClassImplementsAllMethodsAndProperties()
829 const ObjCImplementationDecl *ImpDecl) { in migrateProtocolConformance()
1695 const ObjCImplementationDecl *ImplD) { in inferDesignatedInitializers()
1860 else if (const ObjCImplementationDecl *ImpDecl = in HandleTranslationUnit()
1861 dyn_cast<ObjCImplementationDecl>(*D)) { in HandleTranslationUnit()
1925 if (const ObjCImplementationDecl * in HandleTranslationUnit()
1926 ImplD = dyn_cast<ObjCImplementationDecl>(*D)) { in HandleTranslationUnit()
H A DTransProperties.cpp48 ObjCImplementationDecl *CurImplD = nullptr;
90 void doTransform(ObjCImplementationDecl *D) { in doTransform()
H A DTransEmptyStatementsAndDealloc.cpp200 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl> in cleanupDeallocOrFinalize()
H A DTransforms.cpp327 bool TraverseObjCImplementationDecl(ObjCImplementationDecl *D) { in TraverseObjCImplementationDecl()
524 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl> in GCRewriteFinalize()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DLexicallyOrderedRecursiveASTVisitor.h66 bool TraverseObjCImplementationDecl(ObjCImplementationDecl *D) { in TraverseObjCImplementationDecl()
89 if (!isa<ObjCImplementationDecl>(Child) && in TraverseDeclContextHelper()
H A DDeclObjC.h51 class ObjCImplementationDecl; variable
1340 ObjCImplementationDecl *getImplementation() const;
1341 void setImplementation(ObjCImplementationDecl *ImplD);
2594 class ObjCImplementationDecl : public ObjCImplDecl {
2617 ObjCImplementationDecl(DeclContext *DC,
2638 static ObjCImplementationDecl *Create(ASTContext &C, DeclContext *DC,
2647 static ObjCImplementationDecl *CreateDeserialized(ASTContext &C,
2768 raw_ostream &operator<<(raw_ostream &OS, const ObjCImplementationDecl &ID);
H A DASTContext.h87 class ObjCImplementationDecl; variable
2533 getASTObjCImplementationLayout(const ObjCImplementationDecl *D) const;
2573 const ObjCImplementationDecl *ID,
3090 ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D);
3103 ObjCImplementationDecl *ImplD);
3399 const ObjCImplementationDecl *Impl) const;
H A DTextNodeDumper.h401 void VisitObjCImplementationDecl(const ObjCImplementationDecl *D);
H A DJSONNodeDumper.h278 void VisitObjCImplementationDecl(const ObjCImplementationDecl *D);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCRuntime.h47 class ObjCImplementationDecl; variable
84 const ObjCImplementationDecl *OID,
158 virtual void GenerateClass(const ObjCImplementationDecl *OID) = 0;
H A DCGObjCMac.cpp968 llvm::Constant *BuildIvarLayout(const ObjCImplementationDecl *OI,
974 llvm::Constant *BuildStrongIvarLayout(const ObjCImplementationDecl *OI, in BuildStrongIvarLayout()
980 llvm::Constant *BuildWeakIvarLayout(const ObjCImplementationDecl *OI, in BuildWeakIvarLayout()
1237 llvm::Constant *EmitClassExtension(const ObjCImplementationDecl *ID,
1260 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID,
1270 llvm::Constant *EmitMetaClass(const ObjCImplementationDecl *ID,
1353 void GenerateClass(const ObjCImplementationDecl *ClassDecl) override;
1440 const ObjCImplementationDecl *ID);
1462 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID);
1552 void GetClassSizeInfo(const ObjCImplementationDecl *OID,
[all …]
H A DCodeGenModule.h63 class ObjCImplementationDecl; variable
1726 void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
1727 void EmitObjCIvarInitializations(ObjCImplementationDecl *D);
H A DCGObjCRuntime.cpp39 const ObjCImplementationDecl *OID, in ComputeIvarBaseOffset()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h305 ObjCImplementationDecl *ActOnStartClassImplementation(
411 void CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
519 const ObjCImplementationDecl *ImplD);
567 void SetIvarInitializers(ObjCImplementationDecl *ObjCImplementation);
1018 void DiagnoseOwningPropertyGetterSynthesis(const ObjCImplementationDecl *D);
1021 DiagnoseMissingDesignatedInitOverrides(const ObjCImplementationDecl *ImplD,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp71 !isa<ObjCImplementationDecl>(method->getDeclContext())) in checkInitMethod()
1981 ObjCImplementationDecl *SemaObjC::ActOnStartClassImplementation( in ActOnStartClassImplementation()
2076 ObjCImplementationDecl *IMPDecl = in ActOnStartClassImplementation()
2077 ObjCImplementationDecl::Create(Context, SemaRef.CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
2136 void SemaObjC::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
2376 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideReturn()
2464 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideParam()
3787 static void DiagnoseWeakIvars(Sema &S, ObjCImplementationDecl *ID) { in DiagnoseWeakIvars()
3856 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars()
3998 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd()
[all …]
H A DSemaObjCProperty.cpp1033 RedeclarePropertyAccessor(ASTContext &Context, ObjCImplementationDecl *Impl, in RedeclarePropertyAccessor()
1083 ObjCImplementationDecl *IC = nullptr; in ActOnPropertyImplDecl()
1085 if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) { in ActOnPropertyImplDecl()
1966 ObjCImplementationDecl *IC=dyn_cast_or_null<ObjCImplementationDecl>(D); in DefaultSynthesizeProperties()
2239 const ObjCImplementationDecl *D) { in DiagnoseOwningPropertyGetterSynthesis()
2299 const ObjCImplementationDecl *ImplD, const ObjCInterfaceDecl *IFD) { in DiagnoseMissingDesignatedInitOverrides()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp112 SmallVector<ObjCImplementationDecl *, 8> ClassImplementation;
320 ObjCImplementationDecl *IMD,
449 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
909 static bool mustSynthesizeSetterGetterMethod(ObjCImplementationDecl *IMP, in mustSynthesizeSetterGetterMethod()
918 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl()
1334 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl()
4002 ObjCImplementationDecl *OIMP = ClassImplementation[i]; in RewriteImplementations()
5734 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); in HandleDeclInMainFile()
6998 void RewriteModernObjC::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, in RewriteObjCClassMetaData()
7163 ObjCImplementationDecl *IDecl = ClassImplementation[i]; in RewriteClassSetupInitHook()

12