/external/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 396 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 397 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); 400 OMD->getClassInterface(), 463 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument 468 if (OMD->hasAttr<NoDebugAttr>()) 471 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); 473 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); 474 CGM.SetInternalFunctionAttributes(OMD, Fn, FI); 476 args.push_back(OMD->getSelfDecl()); 477 args.push_back(OMD 503 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument 750 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 982 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 1026 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1279 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1414 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 | 3165 auto *OMD = cast<ObjCImplementationDecl>(D); local 3166 EmitObjCPropertyImplementations(OMD); 3167 EmitObjCIvarInitializations(OMD); 3168 ObjCRuntime->GenerateClass(OMD); 3173 OMD->getClassInterface()), OMD->getLocation()); 3177 auto *OMD = cast<ObjCMethodDecl>(D); local 3179 if (OMD->getBody()) 3180 CodeGenFunction(*this).GenerateObjCMethod(OMD);
|
H A D | CGDebugInfo.cpp | 191 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 194 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 195 const DeclContext *DC = OMD->getDeclContext(); 208 if (ImplicitParamDecl* SelfDecl = OMD->getSelfDecl()) { 214 OS << ' ' << OMD->getSelector().getAsString() << ']'; 2507 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2508 Name = getObjCMethodName(OMD);
|
H A D | CGObjCMac.cpp | 909 void GetNameForMethod(const ObjCMethodDecl *OMD, 1037 const ObjCMethodDecl *OMD, 1050 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 3375 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 3378 GetNameForMethod(OMD, CD, Name); 3382 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 3388 MethodDefinitions.insert(std::make_pair(OMD, Method)); 4802 const ObjCImplementationDecl *OMD, 4811 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 4832 BuildAggrIvarLayout(OMD, nullpt 4801 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument [all...] |
H A D | CGObjCGNU.cpp | 505 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2581 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2584 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2587 Selector MethodName = OMD->getSelector(); 2588 bool isClassMethod = !OMD->isInstanceMethod(); 2592 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
|
H A D | CodeGenFunction.cpp | 510 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F)) 511 Body = OMD->getBody();
|
H A D | CodeGenFunction.h | 1078 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 917 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 918 if (OMD->isInstanceMethod()) 922 if (!OMD->getReturnType().isNull()) 923 Out << '(' << OMD->getASTContext() 924 .getUnqualifiedObjCPointerType(OMD->getReturnType()) 927 std::string name = OMD->getSelector().getAsString(); 929 for (const auto *PI : OMD->params()) { 938 if (OMD->param_begin() == OMD->param_end()) 941 if (OMD [all...] |
H A D | ASTContext.cpp | 465 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); local 466 if (OMD && OMD->isPropertyAccessor()) 467 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 470 if (OMD) 471 addRedeclaredMethods(OMD, Overridden);
|
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 401 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 402 return OMD; 425 if (ObjCMethodDecl *OMD = I->getInstanceMethod(Sel)) { 426 GDecl = OMD; 1430 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { 1432 if (S.DiagnoseUseOfDecl(OMD, MemberLoc)) 1445 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue,
|
H A D | SemaExprObjC.cpp | 1311 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1312 if (OMD && !OMD->isInvalidDecl()) { 1318 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaCodeComplete.cpp | 2629 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 2630 if (OMD->isPropertyAccessor()) 2631 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 1267 ObjCMethodDecl *OMD, 1272 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1278 if (OMD->isInstanceMethod()) 1287 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1293 std::string selString = OMD->getSelector().getAsString(); 1301 MethodInternalNames[OMD] = NameStr; 1308 if (OMD->isInstanceMethod()) { 1328 for (const auto *PDecl : OMD->params()) { 1342 if (OMD->isVariadic()) 1385 for (auto *OMD 1266 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
H A D | RewriteObjC.cpp | 1069 ObjCMethodDecl *OMD, 1074 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1080 if (OMD->isInstanceMethod()) 1089 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1095 std::string selString = OMD->getSelector().getAsString(); 1103 MethodInternalNames[OMD] = NameStr; 1110 if (OMD->isInstanceMethod()) { 1130 for (const auto *PDecl : OMD->params()) { 1144 if (OMD->isVariadic()) 1177 for (auto *OMD 1068 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 854 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 855 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
|
H A D | CIndex.cpp | 3351 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 3352 return cxstring::createDup(OMD->getSelector().getAsString());
|