Searched refs:OMD (Results 1 - 16 of 16) sorted by relevance

/external/clang/lib/AST/
H A DDeclPrinter.cpp913 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument
914 if (OMD->isInstanceMethod())
918 if (!OMD->getResultType().isNull())
919 Out << '(' << OMD->getASTContext().getUnqualifiedObjCPointerType(OMD->getResultType()).
922 std::string name = OMD->getSelector().getAsString();
924 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
925 E = OMD->param_end(); PI != E; ++PI) {
934 if (OMD->param_begin() == OMD
[all...]
H A DASTContext.cpp448 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); local
449 if (OMD && OMD->isPropertyAccessor())
450 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
453 if (OMD)
454 addRedeclaredMethods(OMD, Overridden);
/external/clang/lib/CodeGen/
H A DCGObjC.cpp399 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local
400 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext());
403 OMD->getClassInterface(),
466 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument
471 if (!OMD->hasAttr<NoDebugAttr>())
474 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD);
476 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD);
477 CGM.SetInternalFunctionAttributes(OMD, Fn, FI);
479 args.push_back(OMD->getSelfDecl());
480 args.push_back(OMD
506 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument
747 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local
974 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument
1018 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument
1273 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local
1411 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local
[all...]
H A DCGObjCRuntime.h195 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
H A DCodeGenModule.cpp2920 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); local
2921 EmitObjCPropertyImplementations(OMD);
2922 EmitObjCIvarInitializations(OMD);
2923 ObjCRuntime->GenerateClass(OMD);
2928 OMD->getClassInterface()), OMD->getLocation());
2932 ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(D); local
2934 if (OMD->getBody())
2935 CodeGenFunction(*this).GenerateObjCMethod(OMD);
H A DCGDebugInfo.cpp193 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument
196 OS << (OMD->isInstanceMethod() ? '-' : '+') << '[';
197 const DeclContext *DC = OMD->getDeclContext();
210 if (ImplicitParamDecl* SelfDecl = OMD->getSelfDecl()) {
216 OS << ' ' << OMD->getSelector().getAsString() << ']';
2461 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) {
2462 Name = getObjCMethodName(OMD);
H A DCGObjCMac.cpp899 void GetNameForMethod(const ObjCMethodDecl *OMD,
1029 const ObjCMethodDecl *OMD,
1042 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
3405 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument
3408 GetNameForMethod(OMD, CD, Name);
3412 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
3418 MethodDefinitions.insert(std::make_pair(OMD, Method));
4831 const ObjCImplementationDecl *OMD,
4840 const ObjCInterfaceDecl *OI = OMD->getClassInterface();
4861 BuildAggrIvarLayout(OMD,
4830 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument
[all...]
H A DCGObjCGNU.cpp512 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
2625 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument
2628 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext());
2631 Selector MethodName = OMD->getSelector();
2632 bool isClassMethod = !OMD->isInstanceMethod();
2636 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
H A DCodeGenFunction.h1066 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
/external/clang/lib/Sema/
H A DSemaExprMember.cpp402 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel))
403 return OMD;
428 if (ObjCMethodDecl *OMD = (*I)->getInstanceMethod(Sel)) {
429 GDecl = OMD;
1382 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) {
1384 if (DiagnoseUseOfDecl(OMD, MemberLoc))
1395 return Owned(new (Context) ObjCPropertyRefExpr(OMD, SMD,
H A DSemaExprObjC.cpp1235 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local
1236 if (OMD && !OMD->isInvalidDecl()) {
1242 Selector MatchedSel = OMD->getSelector();
H A DSemaCodeComplete.cpp2630 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND))
2631 if (OMD->isPropertyAccessor())
2632 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp1073 ObjCMethodDecl *OMD,
1078 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1084 if (OMD->isInstanceMethod())
1093 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) {
1099 std::string selString = OMD->getSelector().getAsString();
1107 MethodInternalNames[OMD] = NameStr;
1114 if (OMD->isInstanceMethod()) {
1134 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
1135 E = OMD->param_end(); PI != E; ++PI) {
1150 if (OMD
1072 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument
1187 ObjCMethodDecl *OMD = *I; local
1202 ObjCMethodDecl *OMD = *I; local
[all...]
H A DRewriteModernObjC.cpp1253 ObjCMethodDecl *OMD,
1258 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType);
1264 if (OMD->isInstanceMethod())
1273 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) {
1279 std::string selString = OMD->getSelector().getAsString();
1287 MethodInternalNames[OMD] = NameStr;
1294 if (OMD->isInstanceMethod()) {
1314 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(),
1315 E = OMD->param_end(); PI != E; ++PI) {
1330 if (OMD
1252 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument
1377 ObjCMethodDecl *OMD = *I; local
1392 ObjCMethodDecl *OMD = *I; local
[all...]
/external/clang/tools/libclang/
H A DCXType.cpp814 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) {
815 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
H A DCIndex.cpp3207 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND))
3208 return cxstring::createDup(OMD->getSelector().getAsString());

Completed in 366 milliseconds