Home | History | Annotate | Download | only in Sema

Lines Matching defs:AttrLoc

1600                                   SourceLocation AttrLoc) {
1605 Diag(AttrLoc, diag::err_attribute_invalid_vector_type) << T;
1612 Diag(AttrLoc, diag::err_attribute_argument_not_int)
1622 Diag(AttrLoc, diag::err_attribute_zero_size)
1630 return Context.getDependentSizedExtVectorType(T, ArraySize, AttrLoc);
2545 SourceLocation AttrLoc;
2551 AttrLoc = Attr->getLoc();
2556 if (AttrLoc.isInvalid()) {
2561 AttrLoc = Attr->getLoc();
2567 if (AttrLoc.isValid()) {
2571 if (AttrLoc.isMacroID())
2572 AttrLoc = S.SourceMgr.getImmediateExpansionRange(AttrLoc).first;
2574 S.Diag(AttrLoc, diag::warn_arc_lifetime_result_type)
3697 SourceLocation AttrLoc = attr.getLoc();
3698 if (AttrLoc.isMacroID())
3699 AttrLoc = S.getSourceManager().getImmediateExpansionRange(AttrLoc).first;
3702 S.Diag(AttrLoc, diag::err_attribute_argument_n_not_string)
3723 S.Diag(AttrLoc, diag::warn_attribute_type_not_supported)
3736 S.Diag(AttrLoc, diag::err_attr_objc_ownership_redundant)
3765 S.Diag(AttrLoc, diag::warn_objc_object_attribute_wrong_type)
3775 if (AttrLoc.isValid())
3787 S.getSourceManager().getExpansionLoc(AttrLoc),
3790 S.Diag(AttrLoc, diag::err_arc_weak_no_runtime);
3804 S.Diag(AttrLoc, diag::err_arc_unsupported_weak_class);