/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 851 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 852 if (OMD->isInstanceMethod()) 856 if (!OMD->getResultType().isNull()) 857 Out << '(' << OMD->getResultType().getAsString(Policy) << ")"; 859 std::string name = OMD->getSelector().getAsString(); 861 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 862 E = OMD->param_end(); PI != E; ++PI) { 870 if (OMD->param_begin() == OMD->param_end()) 873 if (OMD [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 371 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 372 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); 375 OMD->getClassInterface(), 438 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument 443 if (CGM.getModuleDebugInfo() && !OMD->hasAttr<NoDebugAttr>()) 446 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); 448 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); 449 CGM.SetInternalFunctionAttributes(OMD, Fn, FI); 451 args.push_back(OMD->getSelfDecl()); 452 args.push_back(OMD 478 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument 709 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 921 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 964 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1217 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1348 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 1353 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local [all...] |
H A D | CodeGenModule.cpp | 2532 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); local 2533 if (LangOpts.ObjCNonFragileABI2 && OMD->hasSynthBitfield()) 2534 Context.ResetObjCLayout(OMD->getClassInterface()); 2535 EmitObjCPropertyImplementations(OMD); 2536 EmitObjCIvarInitializations(OMD); 2537 ObjCRuntime->GenerateClass(OMD); 2540 DI->getOrCreateInterfaceType(getContext().getObjCInterfaceType(OMD->getClassInterface()), 2541 OMD->getLocation()); 2546 ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(D); local 2548 if (OMD [all...] |
H A D | CGObjCRuntime.h | 196 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
|
H A D | CGObjCMac.cpp | 824 void GetNameForMethod(const ObjCMethodDecl *OMD, 932 const ObjCMethodDecl *OMD, 945 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2723 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 2726 GetNameForMethod(OMD, CD, Name); 2730 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 2736 MethodDefinitions.insert(std::make_pair(OMD, Method)); 4131 const ObjCImplementationDecl *OMD, 4140 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 4161 BuildAggrIvarLayout(OMD, 4130 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument [all...] |
H A D | CGDebugInfo.cpp | 145 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 148 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 149 const DeclContext *DC = OMD->getDeclContext(); 161 OS << ' ' << OMD->getSelector().getAsString() << ']'; 2028 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2029 Name = getObjCMethodName(OMD);
|
H A D | CGObjCGNU.cpp | 464 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2403 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2406 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2409 Selector MethodName = OMD->getSelector(); 2410 bool isClassMethod = !OMD->isInstanceMethod(); 2414 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
|
H A D | CodeGenFunction.h | 1297 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 392 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 393 return OMD; 418 if (ObjCMethodDecl *OMD = (*I)->getInstanceMethod(Sel)) { 419 GDecl = OMD; 1288 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { 1290 if (DiagnoseUseOfDecl(OMD, MemberLoc)) 1300 return Owned(new (Context) ObjCPropertyRefExpr(OMD, SMD,
|
H A D | SemaObjCProperty.cpp | 1197 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(CurContext)) { 1199 dyn_cast<ObjCImplementationDecl>(OMD->getDeclContext())) { 1203 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) {
|
/external/clang/lib/Rewrite/ |
H A D | RewriteModernObjC.cpp | 1115 ObjCMethodDecl *OMD, 1120 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType); 1126 if (OMD->isInstanceMethod()) 1135 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1141 std::string selString = OMD->getSelector().getAsString(); 1149 MethodInternalNames[OMD] = NameStr; 1156 if (OMD->isInstanceMethod()) { 1176 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 1177 E = OMD->param_end(); PI != E; ++PI) { 1192 if (OMD 1114 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument 1243 ObjCMethodDecl *OMD = *I; local 1258 ObjCMethodDecl *OMD = *I; local [all...] |
H A D | RewriteObjC.cpp | 1068 ObjCMethodDecl *OMD, 1073 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType); 1079 if (OMD->isInstanceMethod()) 1088 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1094 std::string selString = OMD->getSelector().getAsString(); 1102 MethodInternalNames[OMD] = NameStr; 1109 if (OMD->isInstanceMethod()) { 1129 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 1130 E = OMD->param_end(); PI != E; ++PI) { 1145 if (OMD 1067 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument 1182 ObjCMethodDecl *OMD = *I; local 1197 ObjCMethodDecl *OMD = *I; local [all...] |
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 611 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 612 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
|
H A D | CIndex.cpp | 3013 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 3014 return createCXString(OMD->getSelector().getAsString());
|