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

References

tools/clang/lib/Sema/SemaDeclAttr.cpp
 1647     S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type)
 1654       OwnershipAttr(S.Context, AL, nullptr, nullptr, 0).getOwnKind();
 1661       S.Diag(AL.getLoc(), diag::err_attribute_too_few_arguments) << AL << 2;
 1667       S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1;
 1677     Module = &S.PP.getIdentifierTable().get(ModuleName);
 1684     if (!checkFunctionOrMethodParameterIndex(S, D, AL, i, Ex, Idx))
 1702       S.Diag(AL.getLoc(), diag::err_ownership_type) << AL << Err
 1713         S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << I;
 1720           S.Diag(I->getLocation(), diag::err_ownership_returns_index_mismatch)
 1723             S.Diag(AL.getLoc(), diag::note_ownership_returns_index_mismatch)
 1735   D->addAttr(::new (S.Context)
 1736                  OwnershipAttr(S.Context, AL, Module, Start, Size));