/external/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 1037 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 1038 if (OMD->isInstanceMethod()) 1042 if (!OMD->getReturnType().isNull()) { 1043 PrintObjCMethodType(OMD->getASTContext(), OMD->getObjCDeclQualifier(), 1044 OMD->getReturnType()); 1047 std::string name = OMD->getSelector().getAsString(); 1049 for (const auto *PI : OMD->params()) { 1053 PrintObjCMethodType(OMD->getASTContext(), 1060 if (OMD [all...] |
H A D | ASTContext.cpp | 466 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); local 467 if (OMD && OMD->isPropertyAccessor()) 468 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 471 if (OMD) 472 addRedeclaredMethods(OMD, Overridden);
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 217 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { argument 220 OS << (OMD->isInstanceMethod() ? '-' : '+') << '['; 221 const DeclContext *DC = OMD->getDeclContext(); 241 if (ImplicitParamDecl *SelfDecl = OMD->getSelfDecl()) { 247 OS << ' ' << OMD->getSelector().getAsString() << ']'; 2699 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2700 Name = getObjCMethodName(OMD); 2760 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2761 Name = getObjCMethodName(OMD);
|
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 802 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 1036 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 1080 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1332 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1451 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local [all...] |
H A D | CGObjCGNU.cpp | 512 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2615 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2618 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2621 Selector MethodName = OMD->getSelector(); 2622 bool isClassMethod = !OMD->isInstanceMethod(); 2626 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
|
H A D | CodeGenModule.cpp | 3569 auto *OMD = cast<ObjCImplementationDecl>(D); local 3570 EmitObjCPropertyImplementations(OMD); 3571 EmitObjCIvarInitializations(OMD); 3572 ObjCRuntime->GenerateClass(OMD); 3577 OMD->getClassInterface()), OMD->getLocation()); 3581 auto *OMD = cast<ObjCMethodDecl>(D); local 3583 if (OMD->getBody()) 3584 CodeGenFunction(*this).GenerateObjCMethod(OMD);
|
H A D | CGObjCMac.cpp | 881 void GetNameForMethod(const ObjCMethodDecl *OMD, 1019 const ObjCMethodDecl *OMD, 1037 llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 3553 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 3556 GetNameForMethod(OMD, CD, Name); 3560 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 3566 MethodDefinitions.insert(std::make_pair(OMD, Method)); 4922 CGObjCCommonMac::BuildIvarLayout(const ObjCImplementationDecl *OMD, argument 4933 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 4956 CharUnits::fromQuantity(ComputeIvarBaseOffset(CGM, OMD, ivar [all...] |
/external/clang/lib/Sema/ |
H A D | SemaExprObjC.cpp | 1537 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1538 if (OMD && !OMD->isInvalidDecl()) { 1544 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaDeclCXX.cpp | 1958 const CXXMethodDecl *OMD = *MD->begin_overridden_methods(); local 1959 Diag(OMD->getLocation(), diag::note_overridden_virtual_function);
|
H A D | SemaExpr.cpp | 87 const auto *OMD = dyn_cast<ObjCMethodDecl>(D); local 88 if (!OMD) 90 const ObjCInterfaceDecl *OID = OMD->getClassInterface(); 96 Cat->getMethod(OMD->getSelector(), OMD->isInstanceMethod()))
|
/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->params()) { 1135 if (OMD->isVariadic()) 1168 for (auto *OMD 1059 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |
H A D | RewriteModernObjC.cpp | 1255 ObjCMethodDecl *OMD, 1260 RewriteTypeIntoString(OMD->getReturnType(), ResultStr, FPRetType); 1266 if (OMD->isInstanceMethod()) 1275 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1281 std::string selString = OMD->getSelector().getAsString(); 1289 MethodInternalNames[OMD] = NameStr; 1296 if (OMD->isInstanceMethod()) { 1316 for (const auto *PDecl : OMD->params()) { 1330 if (OMD->isVariadic()) 1373 for (auto *OMD 1254 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument [all...] |