/external/clang/lib/AST/ |
H A D | Mangle.cpp | 143 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) 144 mangleObjCMethodName(OMD, Out); 158 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) 159 mangleObjCMethodName(OMD, Out);
|
H A D | DeclPrinter.cpp | 1055 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 1056 if (OMD->isInstanceMethod()) 1060 if (!OMD->getReturnType().isNull()) { 1061 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(), 1062 OMD->getReturnType()); 1065 std::string name = OMD->getSelector().getAsString(); 1067 for (const auto *PI : OMD->parameters()) { 1071 PrintObjCMethodType(OMD->getASTContext(), 1078 if (OMD [all...] |
H A D | ASTContext.cpp | 467 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); local 468 if (OMD && OMD->isPropertyAccessor()) 469 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 472 if (OMD) 473 addRedeclaredMethods(OMD, Overridden);
|
/external/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 452 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 453 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); 456 OMD->getClassInterface(), 518 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument 520 SourceLocation StartLoc = OMD->getLocStart(); 523 if (OMD->hasAttr<NoDebugAttr>()) 526 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); 528 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); 529 CGM.SetInternalFunctionAttributes(OMD, Fn, FI); 531 args.push_back(OMD 558 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument 800 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 1038 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 1080 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1326 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1445 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local [all...] |
H A D | CGObjCRuntime.h | 204 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
|
H A D | CGDebugInfo.cpp | 220 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 223 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 224 const DeclContext *DC = OMD->getDeclContext(); 244 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { 250 OS << ' ' << OMD->getSelector().getAsString() << ']'; 2897 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2898 Name = getObjCMethodName(OMD); 2958 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2959 Name = getObjCMethodName(OMD);
|
H A D | CodeGenModule.cpp | 3848 auto *OMD = cast<ObjCImplementationDecl>(D); local 3849 EmitObjCPropertyImplementations(OMD); 3850 EmitObjCIvarInitializations(OMD); 3851 ObjCRuntime->GenerateClass(OMD); 3856 OMD->getClassInterface()), OMD->getLocation()); 3860 auto *OMD = cast<ObjCMethodDecl>(D); local 3862 if (OMD->getBody()) 3863 CodeGenFunction(*this).GenerateObjCMethod(OMD);
|
H A D | CGObjCMac.cpp | 884 void GetNameForMethod(const ObjCMethodDecl *OMD, 1030 const ObjCMethodDecl *OMD, 1048 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 3618 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 3621 GetNameForMethod(OMD, CD, Name); 3625 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 3631 MethodDefinitions.insert(std::make_pair(OMD, Method)); 4991 CGObjCCommonMac::BuildIvarLayout(const ObjCImplementationDecl *OMD, argument 5002 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 5025 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivar [all...] |
H A D | CGObjCGNU.cpp | 534 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2622 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2625 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2628 Selector MethodName = OMD->getSelector(); 2629 bool isClassMethod = !OMD->isInstanceMethod(); 2633 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
|
H A D | CGDecl.cpp | 177 else if (const auto *OMD = dyn_cast<ObjCMethodDecl>(DC)) 178 ContextName = OMD->getSelector().getAsString();
|
H A D | CodeGenFunction.cpp | 642 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F)) 643 Body = OMD->getBody();
|
H A D | CodeGenFunction.h | 1308 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
/external/clang/lib/Frontend/Rewrite/ |
H A D | RewriteObjC.cpp | 1060 ObjCMethodDecl *OMD, 1065 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1071 if (OMD->isInstanceMethod()) 1080 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1086 std::string selString = OMD->getSelector().getAsString(); 1094 MethodInternalNames[OMD] = NameStr; 1101 if (OMD->isInstanceMethod()) { 1121 for (const auto *PDecl : OMD->parameters()) { 1135 if (OMD->isVariadic()) 1169 for (auto *OMD 1059 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
H A D | RewriteModernObjC.cpp | 1228 ObjCMethodDecl *OMD, 1233 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1239 if (OMD->isInstanceMethod()) 1248 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1254 std::string selString = OMD->getSelector().getAsString(); 1262 MethodInternalNames[OMD] = NameStr; 1269 if (OMD->isInstanceMethod()) { 1289 for (const auto *PDecl : OMD->parameters()) { 1303 if (OMD->isVariadic()) 1347 for (auto *OMD 1227 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 415 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 416 return OMD; 440 if (ObjCMethodDecl *OMD = I->getInstanceMethod(Sel)) { 441 GDecl = OMD; 1540 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { 1542 if (S.DiagnoseUseOfDecl(OMD, MemberLoc)) 1555 ObjCPropertyRefExpr(OMD, SMD, S.Context.PseudoObjectTy, VK_LValue,
|
H A D | SemaExprObjC.cpp | 1534 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1535 if (OMD && !OMD->isInvalidDecl()) { 1541 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaCodeComplete.cpp | 2693 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 2694 if (OMD->isPropertyAccessor()) 2695 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
|
H A D | SemaExpr.cpp | 91 const auto *OMD = dyn_cast<ObjCMethodDecl>(D); local 92 if (!OMD) 94 const ObjCInterfaceDecl *OID = OMD->getClassInterface(); 100 Cat->getMethod(OMD->getSelector(), OMD->isInstanceMethod()))
|
H A D | SemaDeclCXX.cpp | 1961 const CXXMethodDecl *OMD = *MD->begin_overridden_methods(); local 1962 Diag(OMD->getLocation(), diag::note_overridden_virtual_function);
|
/external/clang/tools/libclang/ |
H A D | CXType.cpp | 903 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 904 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
|
H A D | CIndex.cpp | 4098 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 4099 return cxstring::createDup(OMD->getSelector().getAsString());
|