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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp108 maybeAdjustInterfaceForSubscriptingCheck(const ObjCInterfaceDecl *IFace, argument
111 assert(IFace && Receiver);
115 return IFace;
120 return IFace;
126 return IFace;
137 return IFace;
143 return IFace;
152 return IFace;
155 static bool canRewriteToSubscriptSyntax(const ObjCInterfaceDecl *&IFace, argument
162 IFace
202 rewriteToArraySubscriptGet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument
212 rewriteToDictionarySubscriptGet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument
222 rewriteToArraySubscriptSet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument
256 rewriteToDictionarySubscriptSet(const ObjCInterfaceDecl *IFace, const ObjCMessageExpr *Msg, const NSAPI &NS, Commit &commit) argument
298 const ObjCInterfaceDecl *IFace = local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DDeclObjC.cpp475 const ObjCInterfaceDecl *IFace = this; local
476 while (IFace) {
477 if (IFace->hasDesignatedInitializers())
478 return IFace;
479 if (!IFace->inheritsDesignatedInitializers())
481 IFace = IFace->getSuperClass();
546 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local
547 if (!IFace)
550 for (const auto *MD : IFace
577 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local
2104 setClassInterface(ObjCInterfaceDecl *IFace) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaCodeComplete.cpp4649 } else if (ObjCInterfaceDecl *IFace =
4653 for (auto *Cat : IFace->known_categories())
4661 for (auto *I : IFace->all_referenced_protocols())
4668 if (IFace->getSuperClass())
4669 AddObjCProperties(CCContext, IFace->getSuperClass(), AllowCategories,
4868 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(ClassNamePtr, ClassNameLoc); local
4869 if (!IFace)
4878 AddObjCProperties(CCContext, IFace, true,
6224 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); local
6225 IsRootClass = IsRootClass || (IFace
8330 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); local
[all...]
H A DSemaExprObjC.cpp1857 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); local
1874 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(
1912 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel);
1920 Getter = IFace->lookupPrivateMethod(Sel);
1932 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel);
1941 Setter = IFace->lookupPrivateMethod(SetterSel);
1951 !IFace->FindPropertyDeclaration(
1980 nullptr, nullptr, CCC, CTK_ErrorRecovery, IFace, false, OPT)) {
2007 IFace->lookupInstanceVariable(Member, ClassDeclared)) {
2038 ObjCInterfaceDecl *IFace local
[all...]
H A DSemaExprMember.cpp1561 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
1562 if (!IFace)
1566 if ((Getter = IFace->lookupClassMethod(Sel))) {
1571 Getter = IFace->lookupPrivateMethod(Sel, false);
1578 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel);
1582 Setter = IFace->lookupPrivateMethod(SetterSel, false);
H A DSemaObjCProperty.cpp233 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) {
236 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace;
259 for (auto *P : IFace->all_referenced_protocols()) {
1845 /// declared in class 'IFace'.
1847 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, argument
1851 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(),
1858 for (const auto *Property : IFace->instance_properties()) {
1866 for (const auto *Ext : IFace->known_extensions())
H A DSemaLookup.cpp3914 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) {
3916 for (auto *Cat : IFace->visible_categories()) {
3923 for (auto *I : IFace->all_referenced_protocols()) {
3930 if (IFace->getSuperClass()) {
3932 lookupInDeclContext(IFace->getSuperClass(), Result, QualifiedNameLookup,
3938 if (IFace->getImplementation()) {
3940 lookupInDeclContext(IFace->getImplementation(), Result,
4007 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) {
4008 lookupInDeclContext(IFace, IvarResult,
H A DSemaPseudoObject.cpp665 if (const ObjCInterfaceDecl *IFace =
674 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(
H A DSemaType.cpp8131 ObjCInterfaceDecl *IFace = dyn_cast_or_null<ObjCInterfaceDecl>(Def); local
8137 if (Tag || IFace) {
8146 if (IFace && IFace->hasExternalLexicalStorage())
8147 Source->CompleteType(IFace);
8224 if (IFace && !IFace->isInvalidDecl())
8225 Diag(IFace->getLocation(), diag::note_forward_class);
H A DSemaExpr.cpp2633 ObjCInterfaceDecl *IFace = nullptr; local
2635 IFace = CurMethod->getClassInterface();
2638 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) {
2647 !declaresSameEntity(ClassDeclared, IFace) &&
2656 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) {
2658 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) {
2660 declaresSameEntity(IFace, ClassDeclared))
2684 ObjCInterfaceDecl *IFace = CurMethod->getClassInterface(); local
2685 assert(IFace
14778 const ObjCInterfaceDecl *IFace = nullptr; local
[all...]
H A DSemaDeclAttr.cpp5312 ObjCInterfaceDecl *IFace; local
5314 IFace = CatDecl->getClassInterface();
5316 IFace = cast<ObjCInterfaceDecl>(Ctx);
5318 if (!IFace)
5321 IFace->setHasDesignatedInitializers();
H A DSemaChecking.cpp7123 const ObjCInterfaceDecl *IFace; local
7124 if (MD->isInstanceMethod() && (IFace = MD->getClassInterface()) &&
7125 IFace->getIdentifier()->isStr("NSBundle") &&
H A DSemaDecl.cpp14099 auto IFace = MD->getClassInterface();
14100 if (!IFace)
14102 auto SuperD = IFace->getSuperClass();
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1713 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); local
1714 if (!IFace || IFace->hasDesignatedInitializers())
1724 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(),
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp679 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) {
680 if (!IFace->isThisDeclarationADefinition()) {
682 SourceLocation StartLoc = IFace->getBeginLoc();
3633 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
3634 Name = IFace->getName();
H A DRewriteModernObjC.cpp747 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) {
748 if (!IFace->isThisDeclarationADefinition()) {
750 SourceLocation StartLoc = IFace->getBeginLoc();
766 ObjCInterfacesSeen.push_back(IFace);
4444 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
4445 Name = IFace->getName();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclObjC.h2456 void setClassInterface(ObjCInterfaceDecl *IFace);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h3895 /// declared in class 'IFace'.
3896 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,

Completed in 703 milliseconds