Home
last modified time | relevance | path

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

12

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDObjCMissingSuperCallChecker.cpp66 check::ASTDecl<ObjCImplementationDecl> > {
70 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager &Mgr,
73 bool isCheckableClass(const ObjCImplementationDecl *D,
89 bool ObjCSuperCallChecker::isCheckableClass(const ObjCImplementationDecl *D, in isCheckableClass()
166 void ObjCSuperCallChecker::checkASTDecl(const ObjCImplementationDecl *D, in checkASTDecl()
HDCheckObjCInstMethSignature.cpp43 const ObjCImplementationDecl *ID, in CompareReturnTypes()
79 static void CheckObjCInstMethSignature(const ObjCImplementationDecl *ID, in CheckObjCInstMethSignature()
129 check::ASTDecl<ObjCImplementationDecl> > {
131 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
HDObjCUnusedIVarsChecker.cpp83 if (const ObjCImplementationDecl *ID = dyn_cast<ObjCImplementationDecl>(D)) { in Scan()
107 static void checkObjCUnusedIvar(const ObjCImplementationDecl *D, in checkObjCUnusedIvar()
177 check::ASTDecl<ObjCImplementationDecl> > {
179 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
HDCheckObjCDealloc.cpp80 const ObjCImplementationDecl *D, in checkObjCDealloc()
234 check::ASTDecl<ObjCImplementationDecl> > {
236 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& mgr, in checkASTDecl()
240 checkObjCDealloc(this, cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), in checkASTDecl()
HDDirectIvarAssignment.cpp54 public Checker<check::ASTDecl<ObjCImplementationDecl> > {
92 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr,
118 void DirectIvarAssignment::checkASTDecl(const ObjCImplementationDecl *D, in checkASTDecl()
HDIvarInvalidationChecker.cpp226 void visit(const ObjCImplementationDecl *D) const;
247 assert(!isa<ObjCImplementationDecl>(D)); in containsInvalidationMethod()
364 visit(const ObjCImplementationDecl *ImplD) const { in visit()
731 public Checker<check::ASTDecl<ObjCImplementationDecl> > {
735 void checkASTDecl(const ObjCImplementationDecl *D, AnalysisManager& Mgr, in checkASTDecl()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDDeclObjC.cpp669 if (ObjCImplementationDecl *ImpDecl = getImplementation()) in lookupPrivateMethod()
794 if (ObjCImplementationDecl *ImplD = Ctx.getObjCImplementation(IFD)) in getNextRedeclarationImpl()
803 } else if (ObjCImplementationDecl *ImplD = in getNextRedeclarationImpl()
804 dyn_cast<ObjCImplementationDecl>(CtxD)) { in getNextRedeclarationImpl()
829 if (ObjCImplementationDecl *ImplD = dyn_cast<ObjCImplementationDecl>(CtxD)) { in getCanonicalDecl()
1385 ObjCImplementationDecl::getObjCRuntimeNameAsString() const { in getObjCRuntimeNameAsString()
1387 const_cast<ObjCImplementationDecl*>(this)->getClassInterface()) in getObjCRuntimeNameAsString()
1393 ObjCImplementationDecl *ObjCInterfaceDecl::getImplementation() const { in getImplementation()
1406 void ObjCInterfaceDecl::setImplementation(ObjCImplementationDecl *ImplD) { in setImplementation()
1467 if (ObjCImplementationDecl *ImplDecl = getImplementation()) { in all_declared_ivar_begin()
[all …]
HDDeclPrinter.cpp82 void VisitObjCImplementationDecl(ObjCImplementationDecl *D);
315 isa<ObjCImplementationDecl>(*D) || in VisitDeclContext()
1038 void DeclPrinter::VisitObjCImplementationDecl(ObjCImplementationDecl *OID) { in VisitObjCImplementationDecl()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransforms.h62 ObjCImplementationDecl *ImpD;
66 ObjCImplementationDecl *D) in ObjCImplementationContext()
70 ObjCImplementationDecl *getImplementationDecl() { return ImpD; } in getImplementationDecl()
HDObjCMT.cpp53 const ObjCImplementationDecl *ImpDecl);
84 const ObjCImplementationDecl *ImplD);
170 if (const ObjCImplementationDecl *Impl = dyn_cast<ObjCImplementationDecl>(D)) in canModify()
610 const ObjCImplementationDecl *ImpDecl, in ClassImplementsAllMethodsAndProperties()
853 const ObjCImplementationDecl *ImpDecl) { in migrateProtocolConformance()
1723 const ObjCImplementationDecl *ImplD) { in inferDesignatedInitializers()
1883 else if (const ObjCImplementationDecl *ImpDecl = in HandleTranslationUnit()
1884 dyn_cast<ObjCImplementationDecl>(*D)) { in HandleTranslationUnit()
1946 if (const ObjCImplementationDecl * in HandleTranslationUnit()
1947 ImplD = dyn_cast<ObjCImplementationDecl>(*D)) { in HandleTranslationUnit()
HDTransProperties.cpp49 ObjCImplementationDecl *CurImplD;
91 void doTransform(ObjCImplementationDecl *D) { in doTransform()
HDTransforms.cpp334 bool TraverseObjCImplementationDecl(ObjCImplementationDecl *D) { in TraverseObjCImplementationDecl()
531 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl> in GCRewriteFinalize()
HDTransEmptyStatementsAndDealloc.cpp204 typedef DeclContext::specific_decl_iterator<ObjCImplementationDecl> in cleanupDeallocOrFinalize()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGObjCRuntime.h45 class ObjCImplementationDecl; variable
82 const ObjCImplementationDecl *OID,
143 virtual void GenerateClass(const ObjCImplementationDecl *OID) = 0;
HDCGObjCRuntime.cpp31 const ObjCImplementationDecl *ID, in LookupFieldBitOffset()
73 const ObjCImplementationDecl *OID, in ComputeIvarBaseOffset()
HDCGObjCMac.cpp937 llvm::Constant *BuildIvarLayout(const ObjCImplementationDecl *OI,
945 void BuildAggrIvarLayout(const ObjCImplementationDecl *OI,
1087 llvm::Constant *EmitClassExtension(const ObjCImplementationDecl *ID);
1107 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID,
1117 llvm::Constant *EmitMetaClass(const ObjCImplementationDecl *ID,
1214 void GenerateClass(const ObjCImplementationDecl *ClassDecl) override;
1308 const ObjCImplementationDecl *ID);
1330 llvm::Constant *EmitIvarList(const ObjCImplementationDecl *ID);
1414 void GetClassSizeInfo(const ObjCImplementationDecl *OID,
1489 void GenerateClass(const ObjCImplementationDecl *ClassDecl) override;
[all …]
HDCodeGenModule.h56 class ObjCImplementationDecl; variable
1168 void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
1169 void EmitObjCIvarInitializations(ObjCImplementationDecl *D);
HDCodeGenFunction.h66 class ObjCImplementationDecl; variable
1189 void GenerateObjCGetter(ObjCImplementationDecl *IMP,
1191 void generateObjCGetterBody(const ObjCImplementationDecl *classImpl,
1196 void GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP,
1201 void GenerateObjCSetter(ObjCImplementationDecl *IMP,
1203 void generateObjCSetterBody(const ObjCImplementationDecl *classImpl,
HDCodeGenModule.cpp3114 ObjCImplementationDecl *D) { in EmitObjCPropertyImplementations()
3127 const_cast<ObjCImplementationDecl *>(D), PID); in EmitObjCPropertyImplementations()
3131 const_cast<ObjCImplementationDecl *>(D), PID); in EmitObjCPropertyImplementations()
3136 static bool needsDestructMethod(ObjCImplementationDecl *impl) { in needsDestructMethod()
3147 ObjCImplementationDecl *D) { in AllTrivialInitializers()
3149 for (ObjCImplementationDecl::init_iterator B = D->init_begin(), in AllTrivialInitializers()
3161 void CodeGenModule::EmitObjCIvarInitializations(ObjCImplementationDecl *D) { in EmitObjCIvarInitializations()
3331 auto *OMD = cast<ObjCImplementationDecl>(D); in EmitTopLevelDecl()
HDCGObjC.cpp763 void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, in GenerateObjCGetter()
833 CodeGenFunction::generateObjCGetterBody(const ObjCImplementationDecl *classImpl, in generateObjCGetterBody()
1111 CodeGenFunction::generateObjCSetterBody(const ObjCImplementationDecl *classImpl, in generateObjCSetterBody()
1292 void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, in GenerateObjCSetter()
1338 ObjCImplementationDecl *impl) { in emitCXXDestructMethod()
1373 void CodeGenFunction::GenerateObjCCtorDtorMethod(ObjCImplementationDecl *IMP, in GenerateObjCCtorDtorMethod()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclObjC.h1022 ObjCImplementationDecl *getImplementation() const;
1023 void setImplementation(ObjCImplementationDecl *ImplD);
2228 class ObjCImplementationDecl : public ObjCImplDecl {
2250 ObjCImplementationDecl(DeclContext *DC,
2263 static ObjCImplementationDecl *Create(ASTContext &C, DeclContext *DC,
2272 static ObjCImplementationDecl *CreateDeserialized(ASTContext &C, unsigned ID);
2389 raw_ostream &operator<<(raw_ostream &OS, const ObjCImplementationDecl &ID);
HDASTContext.h1792 getASTObjCImplementationLayout(const ObjCImplementationDecl *D) const;
2217 ObjCImplementationDecl *getObjCImplementation(ObjCInterfaceDecl *D);
2229 ObjCImplementationDecl *ImplD);
2428 const ObjCImplementationDecl *Impl) const;
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaDeclObjC.cpp69 !isa<ObjCImplementationDecl>(method->getDeclContext())) in checkInitMethod()
1929 ObjCImplementationDecl* IMPDecl = in ActOnStartClassImplementation()
1930 ObjCImplementationDecl::Create(Context, CurContext, IDecl, SDecl, in ActOnStartClassImplementation()
1974 void Sema::CheckImplementationIvars(ObjCImplementationDecl *ImpDecl, in CheckImplementationIvars()
2204 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideReturn()
2296 !isa<ObjCImplementationDecl>(MethodImpl->getDeclContext()) && in CheckMethodOverrideParam()
3515 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd()
3596 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { in ActOnAtEnd()
3863 void searchFrom(ObjCImplementationDecl *impl) { in searchFrom()
3969 isa<ObjCImplementationDecl>(ObjCMethod->getDeclContext())) in CheckObjCMethodOverrides()
[all …]
HDSemaObjCProperty.cpp827 ObjCImplementationDecl *IC = nullptr; in ActOnPropertyImplDecl()
829 if ((IC = dyn_cast<ObjCImplementationDecl>(ClassImpDecl))) { in ActOnPropertyImplDecl()
1624 ObjCImplementationDecl *IC=dyn_cast_or_null<ObjCImplementationDecl>(D); in DefaultSynthesizeProperties()
1878 void Sema::DiagnoseOwningPropertyGetterSynthesis(const ObjCImplementationDecl *D) { in DiagnoseOwningPropertyGetterSynthesis()
1935 const ObjCImplementationDecl *ImplD, in DiagnoseMissingDesignatedInitOverrides()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/Rewrite/
HDRewriteObjC.cpp110 SmallVector<ObjCImplementationDecl *, 8> ClassImplementation;
267 ObjCImplementationDecl *IMD,
338 virtual void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
532 void RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl,
767 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl()
1163 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl()
4869 ObjCImplementationDecl *CI = cast<ObjCImplementationDecl>(D); in HandleDeclInMainFile()
5300 void RewriteObjCFragileABI::RewriteObjCClassMetaData(ObjCImplementationDecl *IDecl, in RewriteObjCClassMetaData()

12