Home
last modified time | relevance | path

Searched refs:IMD (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/ARCMigrate/
DTransZeroOutPropsInDealloc.cpp107 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl() local
108 if (!IMD) in TraverseObjCMethodDecl()
117 I = IMD->propimpl_begin(), EI = IMD->propimpl_end(); I != EI; ++I) { in TraverseObjCMethodDecl()
/external/clang/lib/Sema/
DSemaDeclObjC.cpp372 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() local
375 if (IMD) { in ActOnStartOfObjCMethodDef()
379 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
389 dyn_cast<NamedDecl>(IMD), in ActOnStartOfObjCMethodDef()
2540 bool containsInvalidMethodImplAttribute(ObjCMethodDecl *IMD, in containsInvalidMethodImplAttribute() argument
2544 if (!IMD) in containsInvalidMethodImplAttribute()
2551 if (!IMD->hasAttrs()) in containsInvalidMethodImplAttribute()
2554 const AttrVec &D = IMD->getAttrs(); in containsInvalidMethodImplAttribute()
2988 ObjCMethodDecl *IMD = 0; in ActOnMethodDeclaration() local
2990 IMD = IDecl->lookupMethod(ObjCMethod->getSelector(), in ActOnMethodDeclaration()
[all …]
DSemaObjCProperty.cpp1461 if (ObjCImplementationDecl *IMD = in isPropertyReadonly() local
1463 if (IMD->getInstanceMethod(PDecl->getSetterName())) in isPropertyReadonly()
1553 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() local
1555 if (!IMD || !IMD->isPropertyAccessor()) in IvarBacksCurrentMethodAccessor()
1563 if ((property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1564 property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
/external/clang/lib/Rewrite/Frontend/
DRewriteModernObjC.cpp315 ObjCImplementationDecl *IMD,
918 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
934 startGetterSetterLoc = IMD ? IMD->getLocEnd() : CID->getLocEnd(); in RewritePropertyImplDecl()
942 assert(IMD && OID && "Synthesized ivars must be attached to @implementation"); in RewritePropertyImplDecl()
945 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) { in RewritePropertyImplDecl()
1001 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/)) in RewritePropertyImplDecl()
1357 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1360 if (IMD) { in RewriteImplementationDecl()
1361 if (IMD->getIvarRBraceLoc().isValid()) { in RewriteImplementationDecl()
1362 ReplaceText(IMD->getLocStart(), 1, "/** "); in RewriteImplementationDecl()
[all …]
DRewriteObjC.cpp275 ObjCImplementationDecl *IMD,
769 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
1177 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1180 InsertText(IMD ? IMD->getLocStart() : CID->getLocStart(), "// "); in RewriteImplementationDecl()
1183 I = IMD ? IMD->instmeth_begin() : CID->instmeth_begin(), in RewriteImplementationDecl()
1184 E = IMD ? IMD->instmeth_end() : CID->instmeth_end(); in RewriteImplementationDecl()
1198 I = IMD ? IMD->classmeth_begin() : CID->classmeth_begin(), in RewriteImplementationDecl()
1199 E = IMD ? IMD->classmeth_end() : CID->classmeth_end(); in RewriteImplementationDecl()
1212 I = IMD ? IMD->propimpl_begin() : CID->propimpl_begin(), in RewriteImplementationDecl()
1213 E = IMD ? IMD->propimpl_end() : CID->propimpl_end(); in RewriteImplementationDecl()
[all …]
/external/clang/lib/AST/
DDeclObjC.cpp767 if (ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface() local
768 return IMD->getClassInterface(); in getClassInterface()
861 IMD = dyn_cast<ObjCImplDecl>(Method->getDeclContext())) { in collectOverriddenMethodsSlow() local
862 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
DASTContext.cpp371 if (const ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods() local
372 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in addRedeclaredMethods()
1825 if (const ObjCImplDecl *IMD = in getObjContainingInterface() local
1827 return IMD->getClassInterface(); in getObjContainingInterface()
/external/llvm/lib/Transforms/Scalar/
DGVN.cpp1734 MDNode *IMD = I->getMetadata(Kind); in patchReplacementInstruction() local
1743 ReplInst->setMetadata(Kind, MDNode::getMostGenericTBAA(IMD, ReplMD)); in patchReplacementInstruction()
1746 ReplInst->setMetadata(Kind, MDNode::getMostGenericRange(IMD, ReplMD)); in patchReplacementInstruction()
1752 ReplInst->setMetadata(Kind, MDNode::getMostGenericFPMath(IMD, ReplMD)); in patchReplacementInstruction()