/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
H A D | DeclPrinter.cpp | 915 void DeclPrinter::VisitObjCMethodDecl(ObjCMethodDecl *OMD) { argument 916 if (OMD->isInstanceMethod()) 920 if (!OMD->getResultType().isNull()) 921 Out << '(' << OMD->getASTContext().getUnqualifiedObjCPointerType(OMD->getResultType()). 924 std::string name = OMD->getSelector().getAsString(); 926 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 927 E = OMD->param_end(); PI != E; ++PI) { 936 if (OMD->param_begin() == OMD [all...] |
H A D | ASTContext.cpp | 450 const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D); local 451 if (OMD && OMD->isPropertyAccessor()) 452 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl()) 455 if (OMD) 456 addRedeclaredMethods(OMD, Overridden);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/CodeGen/ |
H A D | CGObjC.cpp | 400 const ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(CurFuncDecl); local 401 bool isCategoryImpl = isa<ObjCCategoryImplDecl>(OMD->getDeclContext()); 404 OMD->getClassInterface(), 467 void CodeGenFunction::StartObjCMethod(const ObjCMethodDecl *OMD, argument 472 if (OMD->hasAttr<NoDebugAttr>()) 475 llvm::Function *Fn = CGM.getObjCRuntime().GenerateMethod(OMD, CD); 477 const CGFunctionInfo &FI = CGM.getTypes().arrangeObjCMethodDeclaration(OMD); 478 CGM.SetInternalFunctionAttributes(OMD, Fn, FI); 480 args.push_back(OMD->getSelfDecl()); 481 args.push_back(OMD 507 GenerateObjCMethod(const ObjCMethodDecl *OMD) argument 748 ObjCMethodDecl *OMD = PD->getGetterMethodDecl(); local 975 emitStructSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar) argument 1019 emitCPPObjectAtomicSetterCall(CodeGenFunction &CGF, ObjCMethodDecl *OMD, ObjCIvarDecl *ivar, llvm::Constant *AtomicHelperFn) argument 1272 ObjCMethodDecl *OMD = PD->getSetterMethodDecl(); local 1410 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 | 2999 ObjCImplementationDecl *OMD = cast<ObjCImplementationDecl>(D); local 3000 EmitObjCPropertyImplementations(OMD); 3001 EmitObjCIvarInitializations(OMD); 3002 ObjCRuntime->GenerateClass(OMD); 3007 OMD->getClassInterface()), OMD->getLocation()); 3011 ObjCMethodDecl *OMD = cast<ObjCMethodDecl>(D); local 3013 if (OMD->getBody()) 3014 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() << ']'; 2509 } else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) { 2510 Name = getObjCMethodName(OMD);
|
H A D | CGObjCMac.cpp | 900 void GetNameForMethod(const ObjCMethodDecl *OMD, 1030 const ObjCMethodDecl *OMD, 1043 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 3406 llvm::Function *CGObjCCommonMac::GenerateMethod(const ObjCMethodDecl *OMD, argument 3409 GetNameForMethod(OMD, CD, Name); 3413 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD)); 3419 MethodDefinitions.insert(std::make_pair(OMD, Method)); 4832 const ObjCImplementationDecl *OMD, 4841 const ObjCInterfaceDecl *OI = OMD->getClassInterface(); 4862 BuildAggrIvarLayout(OMD, 4831 BuildIvarLayout( const ObjCImplementationDecl *OMD, bool ForStrongLayout) argument [all...] |
H A D | CGObjCGNU.cpp | 512 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD, 2623 llvm::Function *CGObjCGNU::GenerateMethod(const ObjCMethodDecl *OMD, argument 2626 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext()); 2629 Selector MethodName = OMD->getSelector(); 2630 bool isClassMethod = !OMD->isInstanceMethod(); 2634 Types.GetFunctionType(Types.arrangeObjCMethodDeclaration(OMD));
|
H A D | CodeGenFunction.h | 1058 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaExprMember.cpp | 384 if (ObjCMethodDecl *OMD = PDecl->getInstanceMethod(Sel)) 385 return OMD; 410 if (ObjCMethodDecl *OMD = (*I)->getInstanceMethod(Sel)) { 411 GDecl = OMD; 1432 if (ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(PMDecl)) { 1434 if (DiagnoseUseOfDecl(OMD, MemberLoc)) 1445 return Owned(new (Context) ObjCPropertyRefExpr(OMD, SMD,
|
H A D | SemaExprObjC.cpp | 1252 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local 1253 if (OMD && !OMD->isInvalidDecl()) { 1259 Selector MatchedSel = OMD->getSelector();
|
H A D | SemaCodeComplete.cpp | 2633 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND)) 2634 if (OMD->isPropertyAccessor()) 2635 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
|
/freebsd-10-stable/contrib/llvm/tools/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 | 1269 ObjCMethodDecl *OMD, 1274 RewriteTypeIntoString(OMD->getResultType(), ResultStr, FPRetType); 1280 if (OMD->isInstanceMethod()) 1289 dyn_cast<ObjCCategoryImplDecl>(OMD->getDeclContext())) { 1295 std::string selString = OMD->getSelector().getAsString(); 1303 MethodInternalNames[OMD] = NameStr; 1310 if (OMD->isInstanceMethod()) { 1330 for (ObjCMethodDecl::param_iterator PI = OMD->param_begin(), 1331 E = OMD->param_end(); PI != E; ++PI) { 1346 if (OMD 1268 RewriteObjCMethodDecl(const ObjCInterfaceDecl *IDecl, ObjCMethodDecl *OMD, std::string &ResultStr) argument 1393 ObjCMethodDecl *OMD = *I; local 1408 ObjCMethodDecl *OMD = *I; local [all...] |