reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3347 if (AL.getNumArgs() == 0) { 3348 S.Diag(AL.getLoc(), diag::err_callback_attribute_no_callee) 3349 << AL.getRange(); 3371 for (unsigned I = 0, E = AL.getNumArgs(); I < E; ++I) { 3375 if (AL.isArgIdent(I)) { 3376 IdentifierLoc *IdLoc = AL.getArgAsIdent(I); 3379 S.Diag(AL.getLoc(), diag::err_callback_attribute_argument_unknown) 3386 } else if (AL.isArgExpr(I)) { 3387 Expr *IdxExpr = AL.getArgAsExpr(I); 3390 if (!checkUInt32Argument(S, AL, IdxExpr, (uint32_t &)ArgIdx, I + 1, 3392 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) 3393 << AL << (I + 1) << IdxExpr->getSourceRange(); 3399 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) 3400 << AL << (I + 1) << IdxExpr->getSourceRange(); 3410 S.Diag(AL.getLoc(), diag::err_callback_implicit_this_not_available) 3428 S.Diag(AL.getLoc(), diag::err_callback_attribute_invalid_callee) 3429 << AL.getRange(); 3439 S.Diag(AL.getLoc(), diag::err_callback_callee_no_function_type) 3440 << AL.getRange(); 3451 S.Diag(AL.getLoc(), diag::err_callback_callee_no_function_type) 3452 << AL.getRange(); 3457 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) 3458 << AL << (unsigned)(EncodingIndices.size() - 1); 3463 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) 3464 << AL << (unsigned)(EncodingIndices.size() - 1); 3469 S.Diag(AL.getLoc(), diag::err_callback_callee_is_variadic) << AL.getRange(); 3469 S.Diag(AL.getLoc(), diag::err_callback_callee_is_variadic) << AL.getRange(); 3475 S.Diag(AL.getLoc(), diag::err_callback_attribute_multiple) << AL.getRange(); 3475 S.Diag(AL.getLoc(), diag::err_callback_attribute_multiple) << AL.getRange(); 3480 S.Context, AL, EncodingIndices.data(), EncodingIndices.size()));