Lines Matching refs:AttrLoc
1701 SourceLocation AttrLoc) {
1706 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1713 Diag(AttrLoc, diag::err_attribute_argument_type)
1724 Diag(AttrLoc, diag::err_attribute_zero_size)
1730 Diag(AttrLoc, diag::err_attribute_size_too_large)
1738 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
2799 SourceLocation AttrLoc;
2805 AttrLoc = Attr->getLoc();
2810 if (AttrLoc.isInvalid()) {
2815 AttrLoc = Attr->getLoc();
2821 if (AttrLoc.isValid()) {
2825 if (AttrLoc.isMacroID())
2826 AttrLoc = S.SourceMgr.getImmediateExpansionRange(AttrLoc).first;
2828 S.Diag(AttrLoc, diag::warn_arc_lifetime_result_type)
4049 SourceLocation AttrLoc = attr.getLoc();
4050 if (AttrLoc.isMacroID())
4051 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first;
4054 S.Diag(AttrLoc, diag::err_attribute_argument_type)
4076 S.Diag(AttrLoc, diag::warn_attribute_type_not_supported)
4089 S.Diag(AttrLoc, diag::err_attr_objc_ownership_redundant)
4118 S.Diag(AttrLoc, diag::warn_type_attribute_wrong_type) << name
4128 if (AttrLoc.isValid())
4140 S.getSourceManager().getExpansionLoc(AttrLoc),
4143 S.Diag(AttrLoc, diag::err_arc_weak_no_runtime);
4157 S.Diag(AttrLoc, diag::err_arc_unsupported_weak_class);