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

/external/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...]
/external/clang/lib/AST/
H A DDeclObjC.cpp345 const ObjCInterfaceDecl *IFace = this; local
346 while (IFace) {
347 if (IFace->hasDesignatedInitializers())
348 return IFace;
349 if (!IFace->inheritsDesignatedInitializers())
351 IFace = IFace->getSuperClass();
417 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local
418 if (!IFace)
421 for (const auto *MD : IFace
439 const ObjCInterfaceDecl *IFace= findInterfaceWithDesignatedInitializers(); local
1695 setClassInterface(ObjCInterfaceDecl *IFace) argument
[all...]
/external/clang/lib/Sema/
H A DSemaCodeComplete.cpp3500 } else if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container)){
3503 for (auto *Cat : IFace->known_categories())
3509 for (auto *I : IFace->all_referenced_protocols())
3514 if (IFace->getSuperClass())
3515 AddObjCProperties(IFace->getSuperClass(), AllowCategories,
4808 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Container); local
4809 bool isRootClass = IFace && !IFace->getSuperClass();
4845 if (!IFace || !IFace
6933 ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(SearchDecl); local
[all...]
H A DSemaExprObjC.cpp1565 ObjCInterfaceDecl *IFace = IFaceT->getDecl(); local
1583 if (ObjCPropertyDecl *PD = IFace->FindPropertyDeclaration(Member)) {
1619 ObjCMethodDecl *Getter = IFace->lookupInstanceMethod(Sel);
1627 Getter = IFace->lookupPrivateMethod(Sel);
1639 ObjCMethodDecl *Setter = IFace->lookupInstanceMethod(SetterSel);
1648 Setter = IFace->lookupPrivateMethod(SetterSel);
1670 nullptr, nullptr, Validator, CTK_ErrorRecovery, IFace, false, OPT)) {
1680 IFace->lookupInstanceVariable(Member, ClassDeclared)) {
1713 ObjCInterfaceDecl *IFace = getObjCInterfaceDecl(receiverNamePtr, local
1717 if (!IFace) {
[all...]
H A DSemaExprMember.cpp1473 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
1475 if ((Getter = IFace->lookupClassMethod(Sel))) {
1480 Getter = IFace->lookupPrivateMethod(Sel, false);
1487 ObjCMethodDecl *Setter = IFace->lookupClassMethod(SetterSel);
1491 Setter = IFace->lookupPrivateMethod(SetterSel, false);
H A DSemaObjCProperty.cpp200 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) {
203 ObjCInterfaceDecl *CurrentInterfaceDecl = IFace;
226 for (auto *P : IFace->all_referenced_protocols()) {
1479 /// declared in class 'IFace'.
1481 Sema::IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace, argument
1485 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(),
1492 for (const auto *Property : IFace->properties()) {
H A DSemaLookup.cpp3054 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(Ctx)) {
3056 for (auto *Cat : IFace->visible_categories()) {
3063 for (auto *I : IFace->all_referenced_protocols()) {
3070 if (IFace->getSuperClass()) {
3072 LookupVisibleDecls(IFace->getSuperClass(), Result, QualifiedNameLookup,
3078 if (IFace->getImplementation()) {
3080 LookupVisibleDecls(IFace->getImplementation(), Result,
3143 if (ObjCInterfaceDecl *IFace = Method->getClassInterface()) {
3144 LookupVisibleDecls(IFace, IvarResult, /*QualifiedNameLookup=*/false,
H A DSemaType.cpp5238 const ObjCInterfaceType *IFace = T->getAs<ObjCInterfaceType>(); local
5248 if (Tag || IFace) {
5250 Tag ? static_cast<NamedDecl *>(Tag->getDecl()) : IFace->getDecl();
5261 Source->CompleteType(IFace->getDecl());
5321 if (IFace && !IFace->getDecl()->isInvalidDecl())
5322 Diag(IFace->getDecl()->getLocation(), diag::note_forward_class);
H A DSemaPseudoObject.cpp616 if (const ObjCInterfaceDecl *IFace =
625 if (ObjCPropertyDecl *prop1 = IFace->FindPropertyDeclaration(AltMember))
H A DSemaExpr.cpp2317 ObjCInterfaceDecl *IFace = nullptr; local
2319 IFace = CurMethod->getClassInterface();
2322 if (IFace && (IV = IFace->lookupInstanceVariable(II, ClassDeclared))) {
2339 !declaresSameEntity(ClassDeclared, IFace) &&
2364 !IvarBacksCurrentMethodAccessor(IFace, CurMethod, IV))
2386 if (ObjCInterfaceDecl *IFace = CurMethod->getClassInterface()) {
2388 if (ObjCIvarDecl *IV = IFace->lookupInstanceVariable(II, ClassDeclared)) {
2390 declaresSameEntity(IFace, ClassDeclared))
10854 const ObjCInterfaceDecl *IFace local
[all...]
H A DSemaDeclAttr.cpp3599 ObjCInterfaceDecl *IFace; local
3601 IFace = CatDecl->getClassInterface();
3603 IFace = cast<ObjCInterfaceDecl>(D->getDeclContext());
3604 IFace->setHasDesignatedInitializers();
H A DSemaDecl.cpp10171 auto IFace = MD->getClassInterface();
10172 if (!IFace)
10174 auto SuperD = IFace->getSuperClass();
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp1586 const ObjCInterfaceDecl *IFace = ImplD->getClassInterface(); local
1587 if (!IFace || IFace->hasDesignatedInitializers())
1597 const ObjCMethodDecl *IFaceM = IFace->getMethod(MD->getSelector(),
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp766 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) {
767 if (!IFace->isThisDeclarationADefinition()) {
769 SourceLocation StartLoc = IFace->getLocStart();
785 ObjCInterfacesSeen.push_back(IFace);
4557 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
4558 Name = IFace->getName();
H A DRewriteObjC.cpp688 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>((*DI))) {
689 if (!IFace->isThisDeclarationADefinition()) {
691 SourceLocation StartLoc = IFace->getLocStart();
3660 ObjCInterfaceDecl *IFace = MD->getClassInterface(); local
3661 Name = IFace->getName();
/external/clang/include/clang/AST/
H A DDeclObjC.h1852 void setClassInterface(ObjCInterfaceDecl *IFace);
/external/clang/tools/libclang/
H A DCIndex.cpp4866 const ObjCInterfaceDecl *IFace = cast<ObjCInterfaceDecl>(D); local
4868 if (const ObjCInterfaceDecl *Def = IFace->getDefinition())
4870 } else if (ObjCImplementationDecl *Impl = IFace->getImplementation())
/external/clang/include/clang/Sema/
H A DSema.h2767 /// declared in class 'IFace'.
2768 bool IvarBacksCurrentMethodAccessor(ObjCInterfaceDecl *IFace,

Completed in 1419 milliseconds