reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 3225   if (!AL.isArgIdent(0)) {
 3226     S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type)
 3227         << AL << 1 << AANT_ArgumentIdentifier;
 3236   IdentifierInfo *II = AL.getArgAsIdent(0)->Ident;
 3251     S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported)
 3252         << AL << II->getName();
 3257   Expr *IdxExpr = AL.getArgAsExpr(1);
 3259   if (!checkUInt32Argument(S, AL, IdxExpr, Idx, 2))
 3263     S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds)
 3264         << AL << 2 << IdxExpr->getSourceRange();
 3273       S.Diag(AL.getLoc(),
 3286       S.Diag(AL.getLoc(), diag::err_format_attribute_not)
 3295       S.Diag(AL.getLoc(), diag::err_format_attribute_not)
 3302     S.Diag(AL.getLoc(), diag::err_format_attribute_not)
 3309   Expr *FirstArgExpr = AL.getArgAsExpr(2);
 3311   if (!checkUInt32Argument(S, AL, FirstArgExpr, FirstArg, 3))
 3328       S.Diag(AL.getLoc(), diag::err_format_strftime_third_parameter)
 3334     S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds)
 3335         << AL << 3 << FirstArgExpr->getSourceRange();
 3339   FormatAttr *NewAttr = S.mergeFormatAttr(D, AL, II, Idx, FirstArg);