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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 1646   if (!AL.isArgIdent(0)) {
 1647     S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type)
 1648         << AL << 1 << AANT_ArgumentIdentifier;
 1654       OwnershipAttr(S.Context, AL, nullptr, nullptr, 0).getOwnKind();
 1660     if (AL.getNumArgs() < 2) {
 1661       S.Diag(AL.getLoc(), diag::err_attribute_too_few_arguments) << AL << 2;
 1661       S.Diag(AL.getLoc(), diag::err_attribute_too_few_arguments) << AL << 2;
 1666     if (AL.getNumArgs() > 2) {
 1667       S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1;
 1667       S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1;
 1673   IdentifierInfo *Module = AL.getArgAsIdent(0)->Ident;
 1681   for (unsigned i = 1; i < AL.getNumArgs(); ++i) {
 1682     Expr *Ex = AL.getArgAsExpr(i);
 1684     if (!checkFunctionOrMethodParameterIndex(S, D, AL, i, Ex, Idx))
 1702       S.Diag(AL.getLoc(), diag::err_ownership_type) << AL << Err
 1702       S.Diag(AL.getLoc(), diag::err_ownership_type) << AL << Err
 1713         S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << I;
 1713         S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << I;
 1723             S.Diag(AL.getLoc(), diag::note_ownership_returns_index_mismatch)
 1736                  OwnershipAttr(S.Context, AL, Module, Start, Size));