Home | History | Annotate | Download | only in Sema

Lines Matching defs:Container

41   /// \brief A container of code-completion results.
3336 static void AddObjCProperties(ObjCContainerDecl *Container,
3344 // Add properties in this container.
3345 for (ObjCContainerDecl::prop_iterator P = Container->prop_begin(),
3346 PEnd = Container->prop_end();
3355 ASTContext &Context = Container->getASTContext();
3357 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(),
3358 MEnd = Container->meth_end();
3378 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
3384 } else if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)){
3406 = dyn_cast<ObjCCategoryDecl>(Container)) {
4667 /// container to the set of results.
4669 /// The container will be a class, protocol, category, or implementation of
4674 /// \param Container the container in which we'll look to find methods.
4686 static void AddObjCMethods(ObjCContainerDecl *Container,
4697 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(),
4698 MEnd = Container->meth_end();
4720 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
4733 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container);
5820 ObjCContainerDecl *Container
5822 if (!Container ||
5823 (!isa<ObjCImplementationDecl>(Container) &&
5824 !isa<ObjCCategoryImplDecl>(Container)))
5828 for (DeclContext::decl_iterator D = Container->decls_begin(),
5829 DEnd = Container->decls_end();
5838 = dyn_cast<ObjCImplementationDecl>(Container))
5843 AddObjCProperties(cast<ObjCCategoryImplDecl>(Container)->getCategoryDecl(),
5861 ObjCContainerDecl *Container
5863 if (!Container ||
5864 (!isa<ObjCImplementationDecl>(Container) &&
5865 !isa<ObjCCategoryImplDecl>(Container)))
5871 = dyn_cast<ObjCImplementationDecl>(Container))
5874 Class = cast<ObjCCategoryImplDecl>(Container)->getCategoryDecl()
5950 /// \brief Find all of the methods that reside in the given container
5955 ObjCContainerDecl *Container,
5960 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) {
5987 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Container)) {
6004 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
6017 // Add methods in this container. This operation occurs last because
6018 // we want the methods from this container to override any methods
6020 for (ObjCContainerDecl::method_iterator M = Container->meth_begin(),
6021 MEnd = Container->meth_end();