Home
last modified time | relevance | path

Searched refs:ObjCImplDecl (Results 1 – 25 of 34) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp106 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl()
H A DTransGCAttrs.cpp152 return isa<ObjCImplDecl>(ContD); in hasObjCImpl()
H A DObjCMT.cpp1035 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateMethodInstanceType()
1306 else if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(CDecl)) in migrateFactoryMethod()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DCheckObjCDealloc.cpp162 const ObjCImplDecl *getContainingObjCImpl(const LocationContext *LCtx) const;
559 ObjCImplDecl *ImplDecl = Interface->getImplementation(); in diagnoseMissingReleases()
627 const ObjCImplDecl *Container = getContainingObjCImpl(LCtx); in findPropertyOnDeallocatingInstance()
684 const ObjCImplDecl *Container = getContainingObjCImpl(C.getLocationContext()); in diagnoseExtraRelease()
797 const ObjCImplDecl *
800 return cast<ObjCImplDecl>(MD->getDeclContext()); in getContainingObjCImpl()
H A DObjCPropertyChecker.cpp56 const ObjCImplDecl *ImplD = nullptr; in checkCopyMutable()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp1216 if (auto *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface()
1328 dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow()
1387 if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) in findPropertyDecl()
2220 void ObjCImplDecl::anchor() {} in anchor()
2222 void ObjCImplDecl::addPropertyImplementation(ObjCPropertyImplDecl *property) { in addPropertyImplementation()
2228 void ObjCImplDecl::setClassInterface(ObjCInterfaceDecl *IFace) { in setClassInterface()
2246 ObjCPropertyImplDecl *ObjCImplDecl::
2258 ObjCPropertyImplDecl *ObjCImplDecl::
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndexHigh.cpp84 if (const ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) { in getCanonical()
H A DCursorVisitor.h237 bool VisitObjCImplDecl(ObjCImplDecl *D);
H A DCXIndexDataConsumer.cpp94 if (isa<ObjCImplDecl>(LexicalDC) && !D->isThisDeclarationADefinition()) in VisitObjCMethodDecl()
H A DCIndex.cpp639 if (isa<ObjCImplDecl>(DC)) in VisitDeclContext()
1198 bool CursorVisitor::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
6907 if (const ObjCImplDecl *ImplD = dyn_cast<ObjCImplDecl>(D)) in clang_getCanonicalCursor()
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DIndexingContext.cpp259 return MD->isThisDeclarationADefinition() || isa<ObjCImplDecl>(ContainerDC); in isDeclADefinition()
262 isa<FieldDecl>(D) || isa<MSPropertyDecl>(D) || isa<ObjCImplDecl>(D) || in isDeclADefinition()
H A DIndexDecl.cpp80 const ObjCImplDecl *Container) { in hasUserDefined()
540 auto *Container = cast<ObjCImplDecl>(D->getDeclContext()); in VisitObjCPropertyImplDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclObjC.cpp154 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(DC)) in CheckObjCMethodOverride()
442 ObjCImplDecl *ImplDeclOfMethodDef = in ActOnStartOfObjCMethodDef()
443 dyn_cast<ObjCImplDecl>(MDecl->getDeclContext()); in ActOnStartOfObjCMethodDef()
446 ObjCImplDecl *ImplDeclOfMethodDecl = nullptr; in ActOnStartOfObjCMethodDef()
2234 static void WarnUndefinedMethod(Sema &S, ObjCImplDecl *Impl, in WarnUndefinedMethod()
2704 Sema &S, ObjCImplDecl *Impl, ObjCProtocolDecl *PDecl, bool &IncompleteImpl, in CheckProtocolMethodDefs()
2833 ObjCImplDecl* IMPDecl, in MatchAllMethodDeclarations()
2981 void Sema::ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl, in ImplMethodsVsClassMethods()
4462 } else if (isa<ObjCImplDecl>(ObjCMethod->getDeclContext())) { in CheckObjCMethodOverrides()
4675 ObjCImplDecl *ImpDecl = nullptr) { in checkObjCDirectMethodClashes()
[all …]
H A DSemaAvailability.cpp140 if (const auto *Impl = dyn_cast<ObjCImplDecl>(C)) { in ShouldDiagnoseAvailabilityInContext()
163 if (const auto *CatOrImpl = dyn_cast<ObjCImplDecl>(Ctx)) { in ShouldDiagnoseAvailabilityInContext()
213 if (auto *Imp = dyn_cast<ObjCImplDecl>(Ctx)) in findEnclosingDeclToAnnotate()
H A DSemaObjCProperty.cpp1887 void Sema::DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl, in DefaultSynthesizeProperties()
1995 ObjCImplDecl *IMPDecl, ObjCContainerDecl *CDecl, ObjCCategoryDecl *C, in DiagnoseUnimplementedAccessor()
2030 void Sema::DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl, in DiagnoseUnimplementedProperties()
2109 if (ObjCImplDecl *IMP = PrimaryClass->getImplementation()) { in DiagnoseUnimplementedProperties()
2137 void Sema::diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl) { in diagnoseNullResettableSynthesizedSetters()
2163 Sema::AtomicPropertySetterGetterRules (ObjCImplDecl* IMPDecl, in AtomicPropertySetterGetterRules()
2627 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(CD)) in ProcessPropertyDecl()
H A DSemaAccess.cpp1960 if (ObjCImplDecl *Impl in IsSimplyAccessible()
1961 = dyn_cast<ObjCImplDecl>(FD->getLexicalDeclContext())) { in IsSimplyAccessible()
H A DSemaExprObjC.cpp1184 isa<ObjCImplDecl>(MatchingMethodDecl->getDeclContext()) || in HelperToDiagnoseMismatchedMethodsInGlobalPool()
1629 if (const ObjCImplDecl *impl = in findExplicitInstancetypeDeclarer()
1630 dyn_cast<ObjCImplDecl>(MD->getDeclContext())) { in findExplicitInstancetypeDeclarer()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclObjC.h2457 class ObjCImplDecl : public ObjCContainerDecl {
2464 ObjCImplDecl(Kind DK, DeclContext *DC, in ObjCImplDecl() function
2531 class ObjCCategoryImplDecl : public ObjCImplDecl {
2539 : ObjCImplDecl(ObjCCategoryImpl, DC, classInterface, Id, in ObjCCategoryImplDecl()
2584 class ObjCImplementationDecl : public ObjCImplDecl {
2612 : ObjCImplDecl(ObjCImplementation, DC, classInterface,
H A DASTContext.h87 class ObjCImplDecl; variable
280 llvm::DenseMap<ObjCContainerDecl*, ObjCImplDecl*> ObjCImpls;
/openbsd-src/gnu/llvm/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp22 if (!isa<ObjCImplDecl>(D)) in getLexicalDeclRange()
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DBodyFarm.cpp766 } else if (auto *ImplDecl = dyn_cast<ObjCImplDecl>(Container)) { in findBackingIvar()
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTWriterDecl.cpp151 void VisitObjCImplDecl(ObjCImplDecl *D);
894 void ASTDeclWriter::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
2437 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp451 void VisitObjCImplDecl(ObjCImplDecl *D);
1455 void ASTDeclReader::VisitObjCImplDecl(ObjCImplDecl *D) { in VisitObjCImplDecl()
3061 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h157 class ObjCImplDecl; variable
4758 void ImplMethodsVsClassMethods(Scope *S, ObjCImplDecl* IMPDecl,
4764 void DiagnoseUnimplementedProperties(Scope *S, ObjCImplDecl* IMPDecl,
4769 void diagnoseNullResettableSynthesizedSetters(const ObjCImplDecl *impDecl);
4773 void DefaultSynthesizeProperties(Scope *S, ObjCImplDecl *IMPDecl,
4834 void AtomicPropertySetterGetterRules(ObjCImplDecl* IMPDecl,
4862 ObjCImplDecl* IMPDecl,
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGObjC.cpp726 const ObjCImplDecl *impl = cast<ObjCImplDecl>(method->getDeclContext()); in Emit()

12