/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 913 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 D | ASTContext.cpp | 448 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 D | CGObjC.cpp | 399 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 D | CGObjCRuntime.h | 195 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
|
H A D | CodeGenModule.cpp | 2920 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 D | CGDebugInfo.cpp | 193 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 D | CGObjCMac.cpp | 899 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 D | CGObjCGNU.cpp | 512 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 D | CodeGenFunction.h | 1066 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 402 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 D | SemaExprObjC.cpp | 1235 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1236 if (OMD && !OMD->isInvalidDecl()) { 1242 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaCodeComplete.cpp | 2630 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 D | RewriteObjC.cpp | 1073 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 D | RewriteModernObjC.cpp | 1253 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 D | CXType.cpp | 814 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 815 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
|
H A D | CIndex.cpp | 3207 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 3208 return cxstring::createDup(OMD->getSelector().getAsString());
|