• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/

Lines Matching defs:Container

4480 static ObjCContainerDecl *getContainerDef(ObjCContainerDecl *Container) {
4481 if (ObjCInterfaceDecl *Interface = dyn_cast<ObjCInterfaceDecl>(Container)) {
4488 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
4494 return Container;
4537 ObjCContainerDecl *Container, bool AllowCategories,
4545 Container = getContainerDef(Container);
4581 AddObjCBlockCall(Container->getASTContext(),
4594 AddResultTypeChunk(Container->getASTContext(),
4626 for (const auto *P : Container->class_properties())
4629 for (const auto *P : Container->instance_properties())
4635 ASTContext &Context = Container->getASTContext();
4657 for (const auto *M : Container->methods()) {
4667 for (auto *M : Container->methods()) {
4675 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
4682 dyn_cast<ObjCInterfaceDecl>(Container)) {
4706 dyn_cast<ObjCCategoryDecl>(Container)) {
6746 /// \param Container the container in which we'll look to find methods.
6758 static void AddObjCMethods(ObjCContainerDecl *Container,
6766 Container = getContainerDef(Container);
6767 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container);
6769 for (ObjCMethodDecl *M : Container->methods()) {
6792 if (const auto *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
7864 ObjCContainerDecl *Container =
7866 if (!Container || (!isa<ObjCImplementationDecl>(Container) &&
7867 !isa<ObjCCategoryImplDecl>(Container)))
7871 Container = getContainerDef(Container);
7872 for (const auto *D : Container->decls())
7880 dyn_cast<ObjCImplementationDecl>(Container))
7886 cast<ObjCCategoryImplDecl>(Container)->getCategoryDecl(),
7903 ObjCContainerDecl *Container =
7905 if (!Container || (!isa<ObjCImplementationDecl>(Container) &&
7906 !isa<ObjCCategoryImplDecl>(Container)))
7912 dyn_cast<ObjCImplementationDecl>(Container))
7915 Class = cast<ObjCCategoryImplDecl>(Container)
7998 ObjCContainerDecl *Container,
8003 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)) {
8009 Container = IFace;
8032 if (ObjCCategoryDecl *Category = dyn_cast<ObjCCategoryDecl>(Container)) {
8049 if (ObjCProtocolDecl *Protocol = dyn_cast<ObjCProtocolDecl>(Container)) {
8054 Container = Protocol;
8069 for (auto *M : Container->methods()) {