Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DObjCMissingSuperCallChecker.cpp64 check::ASTDecl<ObjCImplementationDecl> > {
68 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
71 bool isCheckableClass(const ObjCImplementationDecl *D,
87 bool ObjCSuperCallChecker::isCheckableClass(const ObjCImplementationDecl *D, in isCheckableClass()
163 void ObjCSuperCallChecker::checkASTDecl(const ObjCImplementationDecl *D, in checkASTDecl()
H A DObjCUnusedIVarsChecker.cpp80 if (const ObjCImplementationDecl *ID = dyn_cast<ObjCImplementationDecl>(D)) { in Scan()
104 static void checkObjCUnusedIvar(const ObjCImplementationDecl *D, in checkObjCUnusedIvar()
173 check::ASTDecl<ObjCImplementationDecl> > {
175 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 DIvarInvalidationChecker.cpp222 void visit(const ObjCImplementationDecl *D) const;
243 assert(!isa<ObjCImplementationDecl>(D)); in containsInvalidationMethod()
356 visit(const ObjCImplementationDecl *ImplD) const { in visit()
711 public Checker<check::ASTDecl<ObjCImplementationDecl> > {
715 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr, 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.cpp1026 : public Checker<check::ASTDecl<ObjCImplementationDecl>> {
1057 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
1063 const ObjCImplementationDecl *D, AnalysisManager &Mgr, in checkASTDecl()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp764 if (ObjCImplementationDecl *ImpDecl = getImplementation()) in lookupPrivateMethod()
972 if (ObjCImplementationDecl *ImplD = Ctx.getObjCImplementation(IFD)) in getNextRedeclarationImpl()
981 } else if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclarationImpl()
1013 if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
1618 ObjCImplementationDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1620 const_cast<ObjCImplementationDecl*>(this)->getClassInterface()) in getObjCRuntimeNameAsString()
1626 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1639 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1708 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin()
1847 assert((isa<ObjCInterfaceDecl>(DC) || isa<ObjCImplementationDecl>(DC) || in Create()
[all …]
H A DDeclPrinter.cpp93 void VisitObjCImplementationDecl(ObjCImplementationDecl *D);
540 } else if (isa<NamespaceDecl, LinkageSpecDecl, ObjCImplementationDecl, in VisitDeclContext()
1463 void DeclPrinter::VisitObjCImplementationDecl(ObjCImplementationDecl *OID) { in VisitObjCImplementationDecl()
/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
1338 ObjCImplementationDecl *getImplementation() const;
1339 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 DTextNodeDumper.h402 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,
157 virtual void GenerateClass(const ObjCImplementationDecl *OID) = 0;
H A DCGObjCMac.cpp935 llvm::Constant *BuildIvarLayout(const ObjCImplementationDecl *OI,
939 llvm::Constant *BuildStrongIvarLayout(const ObjCImplementationDecl *OI, in BuildStrongIvarLayout()
945 llvm::Constant *BuildWeakIvarLayout(const ObjCImplementationDecl *OI, in BuildWeakIvarLayout()
1191 llvm::Constant *EmitClassExtension(const ObjCImplementationDecl *ID,
1211 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID, bool ForClass);
1220 llvm::Constant *EmitMetaClass(const ObjCImplementationDecl *ID,
1300 void GenerateClass(const ObjCImplementationDecl *ClassDecl) override;
1384 const ObjCImplementationDecl *ID);
1403 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID);
1484 void GetClassSizeInfo(const ObjCImplementationDecl *OID,
[all …]
H A DCodeGenModule.h64 class ObjCImplementationDecl; variable
1872 void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
1873 void EmitObjCIvarInitializations(ObjCImplementationDecl *D);
H A DCGObjCRuntime.cpp39 const ObjCImplementationDecl *OID, in ComputeIvarBaseOffset()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSemaObjC.h293 ObjCImplementationDecl *ActOnStartClassImplementation(
403 void CheckImplementationIvars(ObjCImplementationDecl *ImpDecl,
511 const ObjCImplementationDecl *ImplD);
559 void SetIvarInitializers(ObjCImplementationDecl *ObjCImplementation);
1011 void DiagnoseOwningPropertyGetterSynthesis(const ObjCImplementationDecl *D);
1014 DiagnoseMissingDesignatedInitOverrides(const ObjCImplementationDecl *ImplD,
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclObjC.cpp70 !isa<ObjCImplementationDecl>(method->getDeclContext())) in checkInitMethod()
1984 ObjCImplementationDecl *SemaObjC::ActOnStartClassImplementation( in ActOnStartClassImplementation()
2079 ObjCImplementationDecl *IMPDecl = in ActOnStartClassImplementation()
2080 ObjCImplementationDecl::Create(Context, SemaRef.CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
2138 if (auto *ImplD = dyn_cast<ObjCImplementationDecl>(ObjCImpDecl)) in ActOnFinishObjCImplementation()
2145 void SemaObjC::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
2384 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideReturn()
2472 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideParam()
3789 static void DiagnoseWeakIvars(Sema &S, ObjCImplementationDecl *ID) { in DiagnoseWeakIvars()
3858 } else if (auto *ImplDecl = dyn_cast<ObjCImplementationDecl>(OCD)) { in DiagnoseVariableSizedIvars()
[all …]
H A DSemaObjCProperty.cpp1034 RedeclarePropertyAccessor(ASTContext &Context, ObjCImplementationDecl *Impl, in RedeclarePropertyAccessor()
1084 ObjCImplementationDecl *IC = nullptr; in ActOnPropertyImplDecl()
1086 if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) { in ActOnPropertyImplDecl()
1977 ObjCImplementationDecl *IC=dyn_cast_or_null<ObjCImplementationDecl>(D); in DefaultSynthesizeProperties()
2248 const ObjCImplementationDecl *D) { in DiagnoseOwningPropertyGetterSynthesis()
2308 const ObjCImplementationDecl *ImplD, const ObjCInterfaceDecl *IFD) { in DiagnoseMissingDesignatedInitOverrides()
H A DSemaExprMember.cpp1366 if (auto *Implementation = dyn_cast<ObjCImplementationDecl>(D)) in LookupMemberExpr()
1412 if (ObjCImplementationDecl *IMPD = in LookupMemberExpr()
1413 dyn_cast<ObjCImplementationDecl>(ObjCImpDecl)) in LookupMemberExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DBodyFarm.cpp796 const ObjCImplementationDecl *ImpD = IntD->getImplementation(); in createObjCPropertyGetter()
824 const ObjCImplementationDecl *ImplDecl = in createObjCPropertyGetter()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DRawPtrRefMemberChecker.cpp142 if (auto *ID = dyn_cast<ObjCImplementationDecl>(CD)) { in visitObjCDecl()
/freebsd/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp110 SmallVector<ObjCImplementationDecl *, 8> ClassImplementation;
266 ObjCImplementationDecl *IMD,
337 virtual void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
530 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
766 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl()
1166 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl()
4815 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); in HandleDeclInMainFile()
5243 void RewriteObjCFragileABI::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, in RewriteObjCClassMetaData()
H A DRewriteModernObjC.cpp113 SmallVector<ObjCImplementationDecl *, 8> ClassImplementation;
319 ObjCImplementationDecl *IMD,
448 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
908 static bool mustSynthesizeSetterGetterMethod(ObjCImplementationDecl *IMP, in mustSynthesizeSetterGetterMethod()
917 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl()
1333 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl()
4002 ObjCImplementationDecl *OIMP = ClassImplementation[i]; in RewriteImplementations()
5700 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); in HandleDeclInMainFile()
6964 void RewriteModernObjC::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, in RewriteObjCClassMetaData()
7129 ObjCImplementationDecl *IDecl = ClassImplementation[i]; in RewriteClassSetupInitHook()

12