Lines Matching refs:LiteralLoc

1098       SourceLocation LiteralLoc;  in handleNoBuiltinAttr()  local
1099 if (!S.checkStringLiteralArgumentAttr(AL, I, BuiltinName, &LiteralLoc)) in handleNoBuiltinAttr()
1105 S.Diag(LiteralLoc, diag::warn_attribute_no_builtin_invalid_builtin_name) in handleNoBuiltinAttr()
1907 SourceLocation LiteralLoc; in handleTLSModelAttr() local
1909 if (!S.checkStringLiteralArgumentAttr(AL, 0, Model, &LiteralLoc)) in handleTLSModelAttr()
1915 S.Diag(LiteralLoc, diag::err_attr_tlsmodel_arg); in handleTLSModelAttr()
2591 SourceLocation LiteralLoc; in handleVisibilityAttr() local
2592 if (!S.checkStringLiteralArgumentAttr(AL, 0, TypeStr, &LiteralLoc)) in handleVisibilityAttr()
2597 S.Diag(LiteralLoc, diag::warn_attribute_type_not_supported) << AL in handleVisibilityAttr()
2979 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName() argument
2982 Diag(LiteralLoc, diag::err_attribute_section_invalid_for_target) << Error in checkSectionName()
2993 SourceLocation LiteralLoc; in handleSectionAttr() local
2994 if (!S.checkStringLiteralArgumentAttr(AL, 0, Str, &LiteralLoc)) in handleSectionAttr()
2997 if (!S.checkSectionName(LiteralLoc, Str)) in handleSectionAttr()
3003 S.Diag(LiteralLoc, diag::err_attribute_section_invalid_for_target) in handleSectionAttr()
3015 static bool checkCodeSegName(Sema &S, SourceLocation LiteralLoc, in checkCodeSegName() argument
3020 S.Diag(LiteralLoc, diag::err_attribute_section_invalid_for_target) in checkCodeSegName()
3049 SourceLocation LiteralLoc; in handleCodeSegAttr() local
3050 if (!S.checkStringLiteralArgumentAttr(AL, 0, Str, &LiteralLoc)) in handleCodeSegAttr()
3052 if (!checkCodeSegName(S, LiteralLoc, Str)) in handleCodeSegAttr()
3070 bool Sema::checkTargetAttr(SourceLocation LiteralLoc, StringRef AttrStr) { in checkTargetAttr() argument
3074 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3080 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3087 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3092 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3096 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3099 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3105 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3115 return Diag(LiteralLoc, diag::warn_unsupported_target_attribute) in checkTargetAttr()
3118 return Diag(LiteralLoc, diag::err_invalid_branch_protection_spec) in checkTargetAttr()
3127 SourceLocation LiteralLoc; in handleTargetAttr() local
3128 if (!S.checkStringLiteralArgumentAttr(AL, 0, Str, &LiteralLoc) || in handleTargetAttr()
3129 S.checkTargetAttr(LiteralLoc, Str)) in handleTargetAttr()
6146 SourceLocation LiteralLoc; in handleUuidAttr() local
6147 if (!S.checkStringLiteralArgumentAttr(AL, 0, OrigStrRef, &LiteralLoc)) in handleUuidAttr()
6158 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
6165 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
6169 S.Diag(LiteralLoc, diag::err_attribute_uuid_malformed_guid); in handleUuidAttr()
6952 SourceLocation LiteralLoc; in handleCapabilityAttr() local
6954 !S.checkStringLiteralArgumentAttr(AL, 0, N, &LiteralLoc)) in handleCapabilityAttr()
7060 SourceLocation LiteralLoc; in handleNoSanitizeAttr() local
7062 if (!S.checkStringLiteralArgumentAttr(AL, I, SanitizerName, &LiteralLoc)) in handleNoSanitizeAttr()
7067 S.Diag(LiteralLoc, diag::warn_unknown_sanitizer_ignored) << SanitizerName; in handleNoSanitizeAttr()