Home | History | Annotate | Download | only in Sema

Lines Matching defs:method

50 /// method.
55 /// function-typed variable) or an Objective-C method or a block.
77 /// getFunctionOrMethodNumParams - Return number of function or method
257 /// instance method D. May output an error.
2078 ObjCMethodDecl *method = cast<ObjCMethodDecl>(decl);
2094 !method->getReturnType()->isObjCObjectPointerType()) {
2095 S.Diag(method->getLocation(), diag::err_init_method_bad_return_type)
2096 << method->getReturnType();
2101 method->addAttr(new (S.Context) ObjCMethodFamilyAttr(Attr.getRange(),
3454 // method calling convention.
3745 ObjCMethodDecl *method = cast<ObjCMethodDecl>(D);
3747 DeclContext *DC = method->getDeclContext();
3754 if (method->getMethodFamily() == OMF_dealloc) {
3760 method->addAttr(::new (S.Context)