Searched defs:OMD (Results 1 - 10 of 10) sorted by relevance

/external/clang/lib/AST/
H A DDeclPrinter.cpp917 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 DASTContext.cpp465 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/CodeGen/
H A DCGDebugInfo.cpp191 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 DCGObjC.cpp396 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 DCGObjCGNU.cpp505 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 DCodeGenModule.cpp3165 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 DCGObjCMac.cpp909 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...]
/external/clang/lib/Sema/
H A DSemaExprObjC.cpp1311 const ObjCMethodDecl *OMD = SelectorsForTypoCorrection(Sel, ReceiverType); local
1312 if (OMD && !OMD->isInvalidDecl()) {
1318 Selector MatchedSel = OMD->getSelector();
/external/clang/lib/Rewrite/Frontend/
H A DRewriteObjC.cpp1069 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...]
H A DRewriteModernObjC.cpp1267 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...]

Completed in 349 milliseconds