Lines Matching refs:LiteralLoc

1626   SourceLocation LiteralLoc;  in handleTLSModelAttr()  local
1628 if (!S.checkStringLiteralArgumentAttr(Attr, 0, Model, &LiteralLoc)) in handleTLSModelAttr()
1634 S.Diag(LiteralLoc, diag::err_attr_tlsmodel_arg); in handleTLSModelAttr()
2293 SourceLocation LiteralLoc; in handleVisibilityAttr() local
2294 if (!S.checkStringLiteralArgumentAttr(Attr, 0, TypeStr, &LiteralLoc)) in handleVisibilityAttr()
2299 S.Diag(LiteralLoc, diag::warn_attribute_type_not_supported) in handleVisibilityAttr()
2631 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName() argument
2634 Diag(LiteralLoc, diag::err_attribute_section_invalid_for_target) << Error; in checkSectionName()
2644 SourceLocation LiteralLoc; in handleSectionAttr() local
2645 if (!S.checkStringLiteralArgumentAttr(Attr, 0, Str, &LiteralLoc)) in handleSectionAttr()
2648 if (!S.checkSectionName(LiteralLoc, Str)) in handleSectionAttr()
2654 S.Diag(LiteralLoc, diag::err_attribute_section_invalid_for_target) in handleSectionAttr()
2669 void Sema::checkTargetAttr(SourceLocation LiteralLoc, StringRef AttrStr) { in checkTargetAttr() argument
2672 Diag(LiteralLoc, diag::warn_unsupported_target_attribute) << Str; in checkTargetAttr()
2677 SourceLocation LiteralLoc; in handleTargetAttr() local
2678 if (!S.checkStringLiteralArgumentAttr(Attr, 0, Str, &LiteralLoc)) in handleTargetAttr()
2680 S.checkTargetAttr(LiteralLoc, Str); in handleTargetAttr()
4620 SourceLocation LiteralLoc; in handleUuidAttr() local
4621 if (!S.checkStringLiteralArgumentAttr(Attr, 0, StrRef, &LiteralLoc)) in handleUuidAttr()
4631 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
4638 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
4642 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
5103 SourceLocation LiteralLoc; in handleCapabilityAttr() local
5105 !S.checkStringLiteralArgumentAttr(Attr, 0, N, &LiteralLoc)) in handleCapabilityAttr()
5111 S.Diag(LiteralLoc, diag::warn_invalid_capability_name) << N; in handleCapabilityAttr()
5221 SourceLocation LiteralLoc; in handleNoSanitizeAttr() local
5223 if (!S.checkStringLiteralArgumentAttr(Attr, I, SanitizerName, &LiteralLoc)) in handleNoSanitizeAttr()
5227 S.Diag(LiteralLoc, diag::warn_unknown_sanitizer_ignored) << SanitizerName; in handleNoSanitizeAttr()