Searched refs:IFace (Results 1 - 18 of 18) sorted by relevance

/freebsd-current/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp109 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 DDeclObjC.cpp486 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 DSemaCodeComplete.cpp5130 } 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 DSemaExprObjC.cpp1274 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 DSemaExprMember.cpp1596 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 DSemaObjCProperty.cpp229 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 DSemaLookup.cpp4263 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 DSemaPseudoObject.cpp662 if (const ObjCInterfaceDecl *IFace =
671 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(
H A DSemaType.cpp9452 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 DSemaExpr.cpp3056 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 DSemaDeclAttr.cpp6338 ObjCInterfaceDecl *IFace; local
6340 IFace = CatDecl->getClassInterface();
6342 IFace = cast<ObjCInterfaceDecl>(Ctx);
6344 if (!IFace)
6347 IFace->setHasDesignatedInitializers();
H A DSemaChecking.cpp10717 const ObjCInterfaceDecl *IFace; local
10718 if (MD->isInstanceMethod() && (IFace = MD->getClassInterface()) &&
10719 IFace->getIdentifier()->isStr("NSBundle") &&
H A DSemaDecl.cpp16287 auto IFace = MD->getClassInterface();
16288 if (!IFace)
16290 auto SuperD = IFace->getSuperClass();
/freebsd-current/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1696 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 DRewriteModernObjC.cpp749 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 DRewriteObjC.cpp680 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 DDeclObjC.h2485 void setClassInterface(ObjCInterfaceDecl *IFace);
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h4906 /// declared in class 'IFace'.
4907 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,

Completed in 821 milliseconds