Searched defs:OMD (Results 1 - 8 of 8) sorted by relevance
/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 850 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 851 if (OMD->isInstanceMethod()) 855 if (!OMD->getResultType().isNull()) 856 Out << '(' << OMD->getResultType().getAsString(Policy) << ")"; 858 std::string name = OMD->getSelector().getAsString(); 860 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 861 E = OMD->param_end(); PI != E; ++PI) { 869 if (OMD->param_begin() == OMD->param_end()) 872 if (OMD [all...] |
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 147 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 150 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 151 const DeclContext *DC = OMD->getDeclContext(); 163 OS << ' ' << OMD->getSelector().getAsString() << ']'; 2068 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2069 Name = getObjCMethodName(OMD);
|
H A D | CodeGenModule.cpp | 2614 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); local 2615 EmitObjCPropertyImplementations(OMD); 2616 EmitObjCIvarInitializations(OMD); 2617 ObjCRuntime->GenerateClass(OMD); 2620 DI->getOrCreateInterfaceType(getContext().getObjCInterfaceType(OMD->getClassInterface()), 2621 OMD->getLocation()); 2626 ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(D); local 2628 if (OMD->getBody()) 2629 CodeGenFunction(*this).GenerateObjCMethod(OMD);
|
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 719 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 935 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 979 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1234 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1365 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 1370 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local [all...] |
H A D | CGObjCGNU.cpp | 464 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2465 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2468 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2471 Selector MethodName = OMD->getSelector(); 2472 bool isClassMethod = !OMD->isInstanceMethod(); 2476 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(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)); 4143 const ObjCImplementationDecl *OMD, 4152 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 4173 BuildAggrIvarLayout(OMD, 4142 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument [all...] |
/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 | 1201 ObjCMethodDecl *OMD, 1206 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType); 1212 if (OMD->isInstanceMethod()) 1221 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1227 std::string selString = OMD->getSelector().getAsString(); 1235 MethodInternalNames[OMD] = NameStr; 1242 if (OMD->isInstanceMethod()) { 1262 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 1263 E = OMD->param_end(); PI != E; ++PI) { 1278 if (OMD 1200 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument 1325 ObjCMethodDecl *OMD = *I; local 1340 ObjCMethodDecl *OMD = *I; local [all...] |
Completed in 154 milliseconds