Home | History | Annotate | Download | only in Sema

Lines Matching defs:ClassDecl

3973   Decl *ClassDecl = OCD;
3976 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl)
3977 || isa<ObjCProtocolDecl>(ClassDecl);
3978 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl);
4053 if (isa<ObjCInterfaceDecl>(ClassDecl)) {
4055 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) {
4067 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) {
4076 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) {
4165 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) {
4176 } else if (const auto *IntfDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) {
4210 ActOnDocumentableDecl(ClassDecl);
4211 return ClassDecl;
4717 Decl *ClassDecl = cast<ObjCContainerDecl>(CurContext);
4823 if (ObjCImplDecl *ImpDecl = dyn_cast<ObjCImplDecl>(ClassDecl)) {
4933 mergeObjCDirectMembers(*this, ClassDecl, ObjCMethod);
4954 if (!isa<ObjCProtocolDecl>(ClassDecl)) {
4955 mergeObjCDirectMembers(*this, ClassDecl, ObjCMethod);
4957 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl);
4959 IDecl = cast<ObjCCategoryDecl>(ClassDecl)->getClassInterface();
4967 cast<DeclContext>(ClassDecl)->addDecl(ObjCMethod);
4982 ObjCInterfaceDecl *CurrentClass = dyn_cast<ObjCInterfaceDecl>(ClassDecl);
4984 if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl))
4986 else if (ObjCImplDecl *Impl = dyn_cast<ObjCImplDecl>(ClassDecl))
4989 = dyn_cast<ObjCCategoryImplDecl>(ClassDecl))