/freebsd-current/contrib/llvm-project/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 109 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, argument 112 assert(IFace && Receiver); 116 return IFace; 121 return IFace; 127 return IFace; 138 return IFace; 144 return IFace; 153 return IFace; 156 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, argument 163 IFace 203 rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument 213 rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument 223 rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument 257 rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument 299 const ObjCInterfaceDecl *IFace = local [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclObjC.cpp | 486 const ObjCInterfaceDecl *IFace = this; local 487 while (IFace) { 488 if (IFace->hasDesignatedInitializers()) 489 return IFace; 490 if (!IFace->inheritsDesignatedInitializers()) 492 IFace = IFace->getSuperClass(); 557 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local 558 if (!IFace) 561 for (const auto *MD : IFace 588 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local 2228 setClassInterface(ObjCInterfaceDecl *IFace) argument [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCodeComplete.cpp | 5130 } else if (ObjCInterfaceDecl *IFace = 5134 for (auto *Cat : IFace->known_categories()) 5142 for (auto *I : IFace->all_referenced_protocols()) 5149 if (IFace->getSuperClass()) 5150 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories, 5857 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); local 5858 if (!IFace) 5867 AddObjCProperties(CCContext, IFace, true, 7581 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); local 7582 IsRootClass = IsRootClass || (IFace 9713 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); local [all...] |
H A D | SemaExprObjC.cpp | 1274 ObjCInterfaceDecl *IFace = CurMD->getClassInterface(); 1279 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/true)) 1281 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*Instance=*/true)) 1283 if (ObjCMethodDecl *MD = IFace->lookupMethod(Sel, /*isInstance=*/false)) 1285 if (ObjCMethodDecl *MD = IFace->lookupPrivateMethod(Sel, /*Instance=*/false)) 1983 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); local 2000 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration( 2038 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel); 2046 Getter = IFace->lookupPrivateMethod(Sel); 2058 ObjCMethodDecl *Setter = IFace 2165 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(receiverNamePtr, local [all...] |
H A D | SemaExprMember.cpp | 1596 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local 1597 if (!IFace) 1601 if ((Getter = IFace->lookupClassMethod(Sel))) { 1606 Getter = IFace->lookupPrivateMethod(Sel, false); 1613 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel); 1617 Setter = IFace->lookupPrivateMethod(SetterSel, false);
|
H A D | SemaObjCProperty.cpp | 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { 232 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace; 250 for (auto *P : IFace->all_referenced_protocols()) { 1833 /// declared in class 'IFace'. 1835 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, argument 1839 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), 1846 for (const auto *Property : IFace->instance_properties()) { 1854 for (const auto *Ext : IFace->known_extensions())
|
H A D | SemaLookup.cpp | 4263 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) { 4265 for (auto *Cat : IFace->visible_categories()) { 4272 for (auto *I : IFace->all_referenced_protocols()) { 4279 if (IFace->getSuperClass()) { 4281 lookupInDeclContext(IFace->getSuperClass(), Result, QualifiedNameLookup, 4287 if (IFace->getImplementation()) { 4289 lookupInDeclContext(IFace->getImplementation(), Result, 4354 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) { 4355 lookupInDeclContext(IFace, IvarResult,
|
H A D | SemaPseudoObject.cpp | 662 if (const ObjCInterfaceDecl *IFace = 671 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(
|
H A D | SemaType.cpp | 9452 ObjCInterfaceDecl *IFace = dyn_cast_or_null<ObjCInterfaceDecl>(Def); local 9458 if (Tag || IFace) { 9467 if (IFace && IFace->hasExternalLexicalStorage()) 9468 Source->CompleteType(IFace); 9545 if (IFace && !IFace->isInvalidDecl() && !IFace->getLocation().isInvalid()) 9546 Diag(IFace->getLocation(), diag::note_forward_class);
|
H A D | SemaExpr.cpp | 3056 ObjCInterfaceDecl *IFace = nullptr; local 3058 IFace = CurMethod->getClassInterface(); 3061 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) { 3070 !declaresSameEntity(ClassDeclared, IFace) && 3079 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) { 3081 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) { 3083 declaresSameEntity(IFace, ClassDeclared)) 3107 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); local 3108 assert(IFace 17667 const ObjCInterfaceDecl *IFace = nullptr; local [all...] |
H A D | SemaDeclAttr.cpp | 6338 ObjCInterfaceDecl *IFace; local 6340 IFace = CatDecl->getClassInterface(); 6342 IFace = cast<ObjCInterfaceDecl>(Ctx); 6344 if (!IFace) 6347 IFace->setHasDesignatedInitializers();
|
H A D | SemaChecking.cpp | 10717 const ObjCInterfaceDecl *IFace; local 10718 if (MD->isInstanceMethod() && (IFace = MD->getClassInterface()) && 10719 IFace->getIdentifier()->isStr("NSBundle") &&
|
H A D | SemaDecl.cpp | 16287 auto IFace = MD->getClassInterface(); 16288 if (!IFace) 16290 auto SuperD = IFace->getSuperClass();
|
/freebsd-current/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | ObjCMT.cpp | 1696 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); local 1697 if (!IFace || IFace->hasDesignatedInitializers()) 1707 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(),
|
/freebsd-current/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
H A D | RewriteModernObjC.cpp | 749 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { 750 if (!IFace->isThisDeclarationADefinition()) { 752 SourceLocation StartLoc = IFace->getBeginLoc(); 768 ObjCInterfacesSeen.push_back(IFace); 4441 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local 4442 Name = std::string(IFace->getName());
|
H A D | RewriteObjC.cpp | 680 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) { 681 if (!IFace->isThisDeclarationADefinition()) { 683 SourceLocation StartLoc = IFace->getBeginLoc(); 3628 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local 3629 Name = std::string(IFace->getName());
|
/freebsd-current/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclObjC.h | 2485 void setClassInterface(ObjCInterfaceDecl *IFace);
|
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 4906 /// declared in class 'IFace'. 4907 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,
|