Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/
H A DStreamUtil.cpp82 IndexedModuleDescriptor IMD; in discoverStreamPurposes() local
83 IMD.Modi = I; in discoverStreamPurposes()
84 IMD.Descriptor = Modules.getModuleDescriptor(I); in discoverStreamPurposes()
85 uint16_t SN = IMD.Descriptor.getModuleStreamIndex(); in discoverStreamPurposes()
87 ModStreams[SN] = IMD; in discoverStreamPurposes()
/openbsd-src/gnu/llvm/clang/lib/ARCMigrate/
H A DTransZeroOutPropsInDealloc.cpp106 ObjCImplDecl *IMD = dyn_cast<ObjCImplDecl>(D->getDeclContext()); in TraverseObjCMethodDecl() local
107 if (!IMD) in TraverseObjCMethodDecl()
115 for (auto *PID : IMD->property_impls()) { in TraverseObjCMethodDecl()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclObjC.cpp438 ObjCMethodDecl *IMD = in ActOnStartOfObjCMethodDef() local
441 if (IMD) { in ActOnStartOfObjCMethodDef()
445 dyn_cast<ObjCContainerDecl>(IMD->getDeclContext()); in ActOnStartOfObjCMethodDef()
459 DiagnoseObjCImplementedDeprecations(*this, IMD, MDecl->getLocation()); in ActOnStartOfObjCMethodDef()
4680 auto diagClash = [&](const ObjCMethodDecl *IMD) { in checkObjCDirectMethodClashes() argument
4681 if (diagnosed || IMD->isImplicit()) in checkObjCDirectMethodClashes()
4683 if (Method->isDirectMethod() || IMD->isDirectMethod()) { in checkObjCDirectMethodClashes()
4685 << Method->isDirectMethod() << /* method */ 0 << IMD->isDirectMethod() in checkObjCDirectMethodClashes()
4687 S.Diag(IMD->getLocation(), diag::note_previous_declaration); in checkObjCDirectMethodClashes()
4705 if (auto *IMD = IDecl->getMethod(Sel, isInstance)) in checkObjCDirectMethodClashes() local
[all …]
H A DSemaObjCProperty.cpp1840 ObjCMethodDecl *IMD = IFace->lookupMethod(Method->getSelector(), in IvarBacksCurrentMethodAccessor() local
1842 if (!IMD || !IMD->isPropertyAccessor()) in IvarBacksCurrentMethodAccessor()
1848 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1849 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
1857 if ((Property->getGetterName() == IMD->getSelector() || in IvarBacksCurrentMethodAccessor()
1858 Property->getSetterName() == IMD->getSelector()) && in IvarBacksCurrentMethodAccessor()
2338 if (auto *IMD = IFD->getInstanceMethod(MD->getSelector())) { in DiagnoseMissingDesignatedInitOverrides() local
2339 Ignore = IMD->isUnavailable(); in DiagnoseMissingDesignatedInitOverrides()
2343 if (auto *IMD = Ext->getInstanceMethod(MD->getSelector())) { in DiagnoseMissingDesignatedInitOverrides() local
2344 Ignore = IMD->isUnavailable(); in DiagnoseMissingDesignatedInitOverrides()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DVectorUtils.cpp906 MDNode *IMD = IJ->getMetadata(Kind); in propagateMetadata() local
909 MD = MDNode::getMostGenericTBAA(MD, IMD); in propagateMetadata()
912 MD = MDNode::getMostGenericAliasScope(MD, IMD); in propagateMetadata()
915 MD = MDNode::getMostGenericFPMath(MD, IMD); in propagateMetadata()
920 MD = MDNode::intersect(MD, IMD); in propagateMetadata()
/openbsd-src/gnu/llvm/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp321 ObjCImplementationDecl *IMD,
919 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
934 startGetterSetterLoc = IMD ? IMD->getEndLoc() : CID->getEndLoc(); in RewritePropertyImplDecl()
942 assert(IMD && OID && "Synthesized ivars must be attached to @implementation"); in RewritePropertyImplDecl()
945 if (mustSynthesizeSetterGetterMethod(IMD, PD, true /*getter*/)) { in RewritePropertyImplDecl()
1003 !mustSynthesizeSetterGetterMethod(IMD, PD, false /*setter*/)) in RewritePropertyImplDecl()
1335 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1337 assert((IMD || CID) && "Unknown implementation type"); in RewriteImplementationDecl()
1339 if (IMD) { in RewriteImplementationDecl()
1340 if (IMD->getIvarRBraceLoc().isValid()) { in RewriteImplementationDecl()
[all …]
H A DRewriteObjC.cpp268 ObjCImplementationDecl *IMD,
768 ObjCImplementationDecl *IMD, in RewritePropertyImplDecl() argument
1168 ObjCImplementationDecl *IMD = dyn_cast<ObjCImplementationDecl>(OID); in RewriteImplementationDecl() local
1170 assert((IMD || CID) && "Unknown ImplementationDecl"); in RewriteImplementationDecl()
1172 InsertText(IMD ? IMD->getBeginLoc() : CID->getBeginLoc(), "// "); in RewriteImplementationDecl()
1174 for (auto *OMD : IMD ? IMD->instance_methods() : CID->instance_methods()) { in RewriteImplementationDecl()
1187 for (auto *OMD : IMD ? IMD->class_methods() : CID->class_methods()) { in RewriteImplementationDecl()
1199 for (auto *I : IMD ? IMD->property_impls() : CID->property_impls()) in RewriteImplementationDecl()
1200 RewritePropertyImplDecl(I, IMD, CID); in RewriteImplementationDecl()
1202 InsertText(IMD ? IMD->getEndLoc() : CID->getEndLoc(), "// "); in RewriteImplementationDecl()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclObjC.cpp1216 if (auto *IMD = dyn_cast<ObjCImplDecl>(getDeclContext())) in getClassInterface() local
1217 return IMD->getClassInterface(); in getClassInterface()
1226 if (auto *IMD = dyn_cast<ObjCCategoryImplDecl>(getDeclContext())) in getCategory() local
1227 return IMD->getCategoryDecl(); in getCategory()
1327 } else if (const auto *IMD = in collectOverriddenMethodsSlow() local
1329 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in collectOverriddenMethodsSlow()
H A DASTContext.cpp469 if (const auto *IMD = dyn_cast<ObjCImplDecl>(DC)) { in addRedeclaredMethods() local
470 const ObjCInterfaceDecl *ID = IMD->getClassInterface(); in addRedeclaredMethods()
2956 if (const auto *IMD = dyn_cast<ObjCImplDecl>(ND->getDeclContext())) in getObjContainingInterface() local
2957 return IMD->getClassInterface(); in getObjContainingInterface()
/openbsd-src/gnu/llvm/clang/tools/libclang/
H A DCIndex.cpp8304 if (auto *IMD = dyn_cast<ObjCImplementationDecl>(D)) in getCursorPlatformAvailabilityForDecl() local
8305 CD = IMD->getClassInterface(); in getCursorPlatformAvailabilityForDecl()
8308 else if (auto *IMD = dyn_cast<ObjCCategoryImplDecl>(D)) in getCursorPlatformAvailabilityForDecl() local
8309 CD = IMD->getCategoryDecl(); in getCursorPlatformAvailabilityForDecl()
8314 else if (auto *IMD = dyn_cast<ObjCImplementationDecl>(DC)) in getCursorPlatformAvailabilityForDecl() local
8315 CD = IMD->getClassInterface(); in getCursorPlatformAvailabilityForDecl()
8316 else if (auto *IMD = dyn_cast<ObjCCategoryImplDecl>(DC)) in getCursorPlatformAvailabilityForDecl() local
8317 CD = IMD->getCategoryDecl(); in getCursorPlatformAvailabilityForDecl()