reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
246 S.NSAPIObj->getNSNumberFactoryMethodKind(NumberType); 250 S.Diag(Loc, diag::err_invalid_nsnumber_type) 257 if (S.NSNumberLiteralMethods[*Kind]) 258 return S.NSNumberLiteralMethods[*Kind]; 260 Selector Sel = S.NSAPIObj->getNSNumberLiteralSelector(*Kind, 263 ASTContext &CX = S.Context; 267 if (!S.NSNumberDecl) { 268 S.NSNumberDecl = LookupObjCInterfaceDeclForLiteral(S, Loc, 268 S.NSNumberDecl = LookupObjCInterfaceDeclForLiteral(S, Loc, 270 if (!S.NSNumberDecl) { 275 if (S.NSNumberPointer.isNull()) { 277 QualType NSNumberObject = CX.getObjCInterfaceType(S.NSNumberDecl); 278 S.NSNumberPointer = CX.getObjCObjectPointerType(NSNumberObject); 282 ObjCMethodDecl *Method = S.NSNumberDecl->lookupClassMethod(Sel); 283 if (!Method && S.getLangOpts().DebuggerObjCLiteral) { 288 S.NSNumberPointer, ReturnTInfo, S.NSNumberDecl, 288 S.NSNumberPointer, ReturnTInfo, S.NSNumberDecl, 294 ParmVarDecl *value = ParmVarDecl::Create(S.Context, Method, 299 Method->setMethodParams(S.Context, value, None); 302 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) 302 if (!validateBoxingMethod(S, Loc, S.NSNumberDecl, Sel, Method)) 308 S.NSNumberLiteralMethods[*Kind] = Method;