Lines Matching defs:AttrLoc
2160 SourceLocation AttrLoc) {
2165 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
2172 Diag(AttrLoc, diag::err_attribute_argument_type)
2183 Diag(AttrLoc, diag::err_attribute_zero_size)
2189 Diag(AttrLoc, diag::err_attribute_size_too_large)
2197 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
3834 SourceLocation AttrLoc;
3840 AttrLoc = Attr->getLoc();
3845 if (AttrLoc.isInvalid()) {
3850 AttrLoc = Attr->getLoc();
3856 if (AttrLoc.isValid()) {
3860 if (AttrLoc.isMacroID())
3861 AttrLoc = S.SourceMgr.getImmediateExpansionRange(AttrLoc).first;
3863 S.Diag(AttrLoc, diag::warn_arc_lifetime_result_type)
5095 SourceLocation AttrLoc = attr.getLoc();
5096 if (AttrLoc.isMacroID())
5097 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first;
5100 S.Diag(AttrLoc, diag::err_attribute_argument_type)
5117 S.Diag(AttrLoc, diag::warn_attribute_type_not_supported)
5138 S.Diag(AttrLoc, diag::err_attr_objc_ownership_redundant)
5167 S.Diag(AttrLoc, diag::warn_type_attribute_wrong_type) << name
5196 if (AttrLoc.isValid())
5222 diagnoseOrDelay(S, AttrLoc, diagnostic, type);
5235 S.Diag(AttrLoc, diag::err_arc_unsupported_weak_class);