Searched refs:OMD (Results 1 - 21 of 21) sorted by relevance

/external/clang/lib/AST/
H A DMangle.cpp143 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 DDeclPrinter.cpp1055 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 DASTContext.cpp467 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 DCGObjC.cpp452 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 DCGObjCRuntime.h204 virtual llvm::Function *GenerateMethod(const ObjCMethodDecl *OMD,
H A DCGDebugInfo.cpp220 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 DCodeGenModule.cpp3848 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 DCGObjCMac.cpp884 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 DCGObjCGNU.cpp534 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 DCGDecl.cpp177 else if (const auto *OMD = dyn_cast<ObjCMethodDecl>(DC))
178 ContextName = OMD->getSelector().getAsString();
H A DCodeGenFunction.cpp642 else if (auto *OMD = dyn_cast_or_null<ObjCMethodDecl>(F))
643 Body = OMD->getBody();
H A DCodeGenFunction.h1308 void GenerateObjCMethod(const ObjCMethodDecl *OMD);
/external/clang/lib/Frontend/Rewrite/
H A DRewriteObjC.cpp1060 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 DRewriteModernObjC.cpp1228 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 DSemaExprMember.cpp415 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 DSemaExprObjC.cpp1534 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local
1535 if (OMD && !OMD->isInvalidDecl()) {
1541 Selector MatchedSel = OMD->getSelector();
H A DSemaCodeComplete.cpp2693 else if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND))
2694 if (OMD->isPropertyAccessor())
2695 if (const ObjCPropertyDecl *PDecl = OMD->findPropertyDecl())
H A DSemaExpr.cpp91 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 DSemaDeclCXX.cpp1961 const CXXMethodDecl *OMD = *MD->begin_overridden_methods(); local
1962 Diag(OMD->getLocation(), diag::note_overridden_virtual_function);
/external/clang/tools/libclang/
H A DCXType.cpp903 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(D)) {
904 if (Ctx.getObjCEncodingForMethodDecl(OMD, encoding))
H A DCIndex.cpp4098 if (const ObjCMethodDecl *OMD = dyn_cast<ObjCMethodDecl>(ND))
4099 return cxstring::createDup(OMD->getSelector().getAsString());

Completed in 1076 milliseconds