• Home
  • Raw
  • Download

Lines Matching refs:getLoc

196     S.Diag(AL.getLoc(), Diag) << AL << Num;  in checkAttributeNumArgsImpl()
236 static SourceLocation getAttrLoc(const ParsedAttr &AL) { return AL.getLoc(); } in getAttrLoc()
303 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << A; in checkAttrMutualExclusion()
522 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_pointer) << AL << QT; in threadSafetyCheckIsPointer()
647 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
651 S.Diag(AL.getLoc(), diag::warn_thread_attribute_not_on_non_static_member) in checkAttrArgsAreCapabilityObjs()
676 S.Diag(AL.getLoc(), diag::warn_thread_attribute_ignored) << AL; in checkAttrArgsAreCapabilityObjs()
704 S.Diag(AL.getLoc(), in checkAttrArgsAreCapabilityObjs()
718 S.Diag(AL.getLoc(), diag::warn_thread_attribute_argument_not_lockable) in checkAttrArgsAreCapabilityObjs()
777 S.Diag(AL.getLoc(), diag::warn_thread_attribute_decl_not_lockable) << AL; in checkAcquireOrderAttrCommon()
873 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) << AL; in handleAllocSizeAttr()
908 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in checkTryLockFunAttrCommon()
986 S.Diag(AL.getLoc(), diag::err_attr_cond_never_constant_expr) << AL; in checkFunctionConditionAttr()
995 S.Diag(AL.getLoc(), diag::ext_clang_enable_if); in handleEnableIfAttr()
1050 S.Diag(AL.getLoc(), diag::ext_clang_diagnose_if); in handleDiagnoseIfAttr()
1169 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleConsumableAttr()
1183 S.Diag(AL.getLoc(), diag::warn_attr_on_unconsumable_class) << RD; in checkForConsumableClass()
1241 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleParamTypestateAttr()
1273 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleReturnTypestateAttr()
1320 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleSetTypestateAttr()
1342 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleTestTypestateAttr()
1367 S.Diag(AL.getLoc(), diag::warn_attribute_ignored_for_field_of_type) in handlePackedAttr()
1374 S.Diag(AL.getLoc(), diag::warn_attribute_packed_for_bitfield); in handlePackedAttr()
1380 S.Diag(AL.getLoc(), diag::warn_attribute_ignored) << AL; in handlePackedAttr()
1389 S.Diag(AL.getLoc(), diag::warn_iboutlet_object_type) in checkIBOutletCommon()
1396 S.Diag(AL.getLoc(), diag::warn_iboutlet_object_type) in checkIBOutletCommon()
1402 S.Diag(AL.getLoc(), diag::warn_attribute_iboutlet) << AL; in checkIBOutletCommon()
1420 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; in handleIBOutletCollection()
1432 PT = S.getTypeName(S.Context.Idents.get("NSObject"), AL.getLoc(), in handleIBOutletCollection()
1435 S.Diag(AL.getLoc(), diag::err_iboutletcollection_type) << "NSObject"; in handleIBOutletCollection()
1443 QTLoc = S.Context.getTrivialTypeSourceInfo(QT, AL.getLoc()); in handleIBOutletCollection()
1450 S.Diag(AL.getLoc(), in handleIBOutletCollection()
1489 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) in attrNonNullArgCheck()
1492 S.Diag(AL.getLoc(), diag::warn_attribute_pointers_only) in attrNonNullArgCheck()
1522 if (NonNullArgs.empty() && AL.getLoc().isFileID() && in handleNonNullAttr()
1533 S.Diag(AL.getLoc(), diag::warn_attribute_nonnull_no_pointers); in handleNonNullAttr()
1548 S.Diag(AL.getLoc(), diag::warn_attribute_nonnull_parm_no_args) in handleNonNullAttrParameter()
1579 S.Diag(AL.getLoc(), diag::warn_attribute_pointers_only) in handleNoEscapeAttr()
1632 Diag(CI.getLoc(), diag::warn_assume_aligned_too_great) in AddAssumeAlignedAttr()
1651 SourceLocation AttrLoc = CI.getLoc(); in AddAllocAlignAttr()
1699 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleOwnershipAttr()
1713 S.Diag(AL.getLoc(), diag::err_attribute_too_few_arguments) << AL << 2; in handleOwnershipAttr()
1719 S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1; in handleOwnershipAttr()
1754 S.Diag(AL.getLoc(), diag::err_ownership_type) << AL << Err in handleOwnershipAttr()
1765 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) << AL << I; in handleOwnershipAttr()
1775 S.Diag(AL.getLoc(), diag::note_ownership_returns_index_mismatch) in handleOwnershipAttr()
1794 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; in handleWeakRefAttr()
1810 S.Diag(AL.getLoc(), diag::err_attribute_weakref_not_global_context) in handleWeakRefAttr()
1857 S.Diag(AL.getLoc(), diag::err_alias_is_definition) << FD << 1; in handleIFuncAttr()
1870 S.Diag(AL.getLoc(), diag::err_alias_not_supported_on_darwin); in handleAliasAttr()
1874 S.Diag(AL.getLoc(), diag::err_alias_not_supported_on_nvptx); in handleAliasAttr()
1880 S.Diag(AL.getLoc(), diag::err_alias_is_definition) << FD << 0; in handleAliasAttr()
1886 S.Diag(AL.getLoc(), diag::err_alias_is_definition) << VD << 0; in handleAliasAttr()
1895 const DeclarationNameInfo target(&S.Context.Idents.get(Str), AL.getLoc()); in handleAliasAttr()
1929 S.Diag(AL.getLoc(), diag::warn_attribute_return_pointers_only) in handleRestrictAttr()
1938 S.Diag(AL.getLoc(), diag::err_attribute_dll_lambda) << AL; in handleCPUSpecificAttr()
1949 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleCPUSpecificAttr()
1968 S.Diag(AL.getLoc(), diag::warn_multiversion_duplicate_entries); in handleCPUSpecificAttr()
1985 S.Diag(AL.getLoc(), diag::err_attribute_not_supported_in_lang) in handleCommonAttr()
1996 S.Diag(AL.getLoc(), diag::err_attribute_not_clinkage) << AL; in handleCmseNSEntryAttr()
2002 S.Diag(AL.getLoc(), diag::warn_attribute_cmse_entry_static); in handleCmseNSEntryAttr()
2018 S.Diag(AL.getLoc(), diag::err_attribute_not_supported_on_arch) in handleNakedAttr()
2031 S.Diag(Attrs.getLoc(), diag::warn_attribute_wrong_decl_type) in handleNoReturnAttr()
2041 S.Diag(Attrs.getLoc(), diag::warn_nocf_check_attribute_ignored); in handleNoCfCheckAttr()
2058 Diag(AL.getLoc(), diag::warn_unknown_attribute_ignored) in CheckAttrTarget()
2075 S.Diag(AL.getLoc(), AL.isCXX11Attribute() in handleAnalyzerNoReturnAttr()
2113 S.Diag(AL.getLoc(), diag::err_repeat_attribute) << A; in handleVecReturnAttr()
2121 S.Diag(AL.getLoc(), diag::err_attribute_vecreturn_only_vector_member); in handleVecReturnAttr()
2126 S.Diag(AL.getLoc(), diag::err_attribute_vecreturn_only_pod_record); in handleVecReturnAttr()
2132 S.Diag(AL.getLoc(), diag::err_attribute_vecreturn_only_vector_member); in handleVecReturnAttr()
2147 S.Diag(AL.getLoc(), in handleDependencyAttr()
2162 S.Diag(AL.getLoc(), diag::ext_cxx17_attr) << AL; in handleUnusedAttr()
2198 S.Diag(AL.getLoc(), diag::err_objc_attr_protocol_requires_definition) in handleObjCSuppresProtocolAttr()
2359 Diag(CI.getLoc(), diag::note_overridden_method); in mergeAvailabilityAttr()
2361 Diag(CI.getLoc(), diag::note_protocol_method); in mergeAvailabilityAttr()
2364 Diag(CI.getLoc(), diag::note_previous_attribute); in mergeAvailabilityAttr()
2447 S.Diag(AL.getLoc(), in handleAvailabilityAttr()
2553 S.Diag(CI.getLoc(), diag::note_previous_attribute); in mergeVisibilityAttr()
2606 S.Diag(AL.getLoc(), diag::warn_attribute_protected_visibility); in handleVisibilityAttr()
2629 S.Diag(AL.getLoc(), diag::err_objc_direct_on_protocol) << false; in handleObjCDirectAttr()
2636 S.Diag(AL.getLoc(), diag::warn_objc_direct_ignored) << AL; in handleObjCDirectAttr()
2645 S.Diag(AL.getLoc(), diag::warn_objc_direct_ignored) << AL; in handleObjCDirectMembersAttr()
2652 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleObjCMethodFamilyAttr()
2718 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleBlocksAttr()
2726 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << II; in handleBlocksAttr()
2740 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleSentinelAttr()
2746 S.Diag(AL.getLoc(), diag::err_attribute_sentinel_less_than_zero) in handleSentinelAttr()
2760 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleSentinelAttr()
2769 S.Diag(AL.getLoc(), diag::err_attribute_sentinel_not_zero_or_one) in handleSentinelAttr()
2778 S.Diag(AL.getLoc(), diag::warn_attribute_sentinel_named_arguments); in handleSentinelAttr()
2783 S.Diag(AL.getLoc(), diag::warn_attribute_sentinel_not_variadic) << 0; in handleSentinelAttr()
2788 S.Diag(AL.getLoc(), diag::warn_attribute_sentinel_not_variadic) << 0; in handleSentinelAttr()
2793 S.Diag(AL.getLoc(), diag::warn_attribute_sentinel_not_variadic) << 1; in handleSentinelAttr()
2804 S.Diag(AL.getLoc(), diag::warn_attribute_sentinel_not_variadic) << m; in handleSentinelAttr()
2808 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleSentinelAttr()
2813 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleSentinelAttr()
2824 S.Diag(AL.getLoc(), diag::warn_attribute_void_function_method) << AL << 0; in handleWarnUnusedResult()
2829 S.Diag(AL.getLoc(), diag::warn_attribute_void_function_method) << AL << 1; in handleWarnUnusedResult()
2838 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type_str) in handleWarnUnusedResult()
2849 S.Diag(AL.getLoc(), diag::ext_cxx20_attr) << AL; in handleWarnUnusedResult()
2858 S.Diag(AL.getLoc(), diag::ext_cxx17_attr) << AL; in handleWarnUnusedResult()
2869 S.Diag(AL.getLoc(), diag::warn_attribute_invalid_on_definition) in handleWeakImportAttr()
2876 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleWeakImportAttr()
2895 S.Diag(AL.getLoc(), diag::err_attribute_argument_is_zero) in handleWorkGroupSize()
2905 S.Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleWorkGroupSize()
2918 S.Diag(AL.getLoc(), diag::err_attribute_argument_is_zero) in handleSubGroupSize()
2926 S.Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleSubGroupSize()
2934 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; in handleVecTypeHint()
2945 S.Diag(AL.getLoc(), diag::err_attribute_invalid_argument) << 2 << AL; in handleVecTypeHint()
2951 S.Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleVecTypeHint()
2973 Diag(CI.getLoc(), diag::note_previous_attribute); in mergeSectionAttr()
3041 Diag(CI.getLoc(), diag::note_previous_attribute); in mergeCodeSegAttr()
3056 S.Diag(AL.getLoc(), in handleCodeSegAttr()
3146 S.Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleMinVectorWidthAttr()
3211 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleEnumExtensibilityAttr()
3220 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << II; in handleEnumExtensibilityAttr()
3244 S.Diag(AL.getLoc(), diag::err_format_attribute_not) in handleFormatArgAttr()
3254 S.Diag(AL.getLoc(), diag::err_format_attribute_result_not) in handleFormatArgAttr()
3297 S.Diag(AL.getLoc(), diag::warn_attribute_ignored) << AL; in handleInitPriorityAttr()
3302 S.Diag(AL.getLoc(), diag::err_init_priority_object_attr); in handleInitPriorityAttr()
3310 S.Diag(AL.getLoc(), diag::err_init_priority_object_attr); in handleInitPriorityAttr()
3326 !S.getSourceManager().isInSystemHeader(AL.getLoc())) { in handleInitPriorityAttr()
3327 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_range) in handleInitPriorityAttr()
3358 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleFormatAttr()
3383 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleFormatAttr()
3395 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleFormatAttr()
3405 S.Diag(AL.getLoc(), in handleFormatAttr()
3418 S.Diag(AL.getLoc(), diag::err_format_attribute_not) in handleFormatAttr()
3427 S.Diag(AL.getLoc(), diag::err_format_attribute_not) in handleFormatAttr()
3434 S.Diag(AL.getLoc(), diag::err_format_attribute_not) in handleFormatAttr()
3460 S.Diag(AL.getLoc(), diag::err_format_strftime_third_parameter) in handleFormatAttr()
3466 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleFormatAttr()
3480 S.Diag(AL.getLoc(), diag::err_callback_attribute_no_callee) in handleCallbackAttr()
3511 S.Diag(AL.getLoc(), diag::err_callback_attribute_argument_unknown) in handleCallbackAttr()
3524 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleCallbackAttr()
3531 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleCallbackAttr()
3542 S.Diag(AL.getLoc(), diag::err_callback_implicit_this_not_available) in handleCallbackAttr()
3560 S.Diag(AL.getLoc(), diag::err_callback_attribute_invalid_callee) in handleCallbackAttr()
3571 S.Diag(AL.getLoc(), diag::err_callback_callee_no_function_type) in handleCallbackAttr()
3583 S.Diag(AL.getLoc(), diag::err_callback_callee_no_function_type) in handleCallbackAttr()
3589 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) in handleCallbackAttr()
3595 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) in handleCallbackAttr()
3601 S.Diag(AL.getLoc(), diag::err_callback_callee_is_variadic) << AL.getRange(); in handleCallbackAttr()
3607 S.Diag(AL.getLoc(), diag::err_callback_attribute_multiple) << AL.getRange(); in handleCallbackAttr()
3625 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) << AL in handleTransparentUnionAttr()
3632 S.Diag(AL.getLoc(), in handleTransparentUnionAttr()
3640 S.Diag(AL.getLoc(), diag::warn_transparent_union_attribute_zero_fields); in handleTransparentUnionAttr()
3756 SourceLocation AttrLoc = CI.getLoc(); in AddAlignValueAttr()
3797 S.Diag(AL.getLoc(), diag::err_attribute_wrong_number_arguments) << AL << 1; in handleAlignedAttr()
3822 SourceLocation AttrLoc = CI.getLoc(); in AddAlignedAttr()
4080 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleModeAttr()
4094 SourceLocation AttrLoc = CI.getLoc(); in AddModeAttr()
4241 Diag(CI.getLoc(), diag::warn_attribute_ignored) << Ident; in mergeAlwaysInlineAttr()
4272 Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in mergeInternalLinkageAttr()
4315 Diag(CI.getLoc(), diag::warn_attribute_ignored) << "'minsize'"; in mergeMinSizeAttr()
4340 Diag(SNA.getLoc(), diag::note_conflicting_attribute); in mergeSwiftNameAttr()
4352 Diag(CI.getLoc(), diag::note_conflicting_attribute); in mergeOptimizeNoneAttr()
4357 Diag(CI.getLoc(), diag::note_conflicting_attribute); in mergeOptimizeNoneAttr()
4399 S.Diag(AL.getLoc(), diag::err_cuda_nonstatic_constdev); in handleConstantAttr()
4413 S.Diag(AL.getLoc(), diag::err_cuda_extern_shared) << VD; in handleSharedAttr()
4417 S.CUDADiagIfHostCode(AL.getLoc(), diag::err_cuda_host_shared) in handleSharedAttr()
4467 S.Diag(AL.getLoc(), diag::err_cuda_nonstatic_constdev); in handleDeviceAttr()
4477 S.Diag(AL.getLoc(), diag::warn_gnu_inline_attribute_requires_inline); in handleGNUInlineAttr()
4482 S.Diag(AL.getLoc(), diag::warn_gnu_inline_cplusplus_without_extern); in handleGNUInlineAttr()
4497 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleCallConvAttr()
4599 S.Diag(AL.getLoc(), diag::err_attribute_invalid_argument) in handleLifetimeCategoryAttr()
4616 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) in handleLifetimeCategoryAttr()
4633 S.Diag(AL.getLoc(), diag::err_attributes_are_not_compatible) in handleLifetimeCategoryAttr()
4714 Diag(Attrs.getLoc(), diag::err_invalid_pcs); in CheckCallingConvAttr()
4777 Diag(Attrs.getLoc(), diag::error_cconv_unsupported) in CheckCallingConvAttr()
4782 Diag(Attrs.getLoc(), diag::warn_cconv_unsupported) in CheckCallingConvAttr()
4841 Diag(CI.getLoc(), diag::err_attributes_are_not_compatible) in AddParameterABIAttr()
4854 Diag(CI.getLoc(), diag::err_swift_abi_parameter_wrong_type) in AddParameterABIAttr()
4862 Diag(CI.getLoc(), diag::err_swift_abi_parameter_wrong_type) in AddParameterABIAttr()
4870 Diag(CI.getLoc(), diag::err_swift_abi_parameter_wrong_type) in AddParameterABIAttr()
4898 Diag(AL.getLoc(), diag::err_attribute_regparm_wrong_platform) in CheckRegparmAttr()
4906 Diag(AL.getLoc(), diag::err_attribute_regparm_invalid_number) in CheckRegparmAttr()
4985 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleArgumentWithTypeTagAttr()
5006 S.Diag(AL.getLoc(), diag::err_attribute_pointers_only) << AL << 0; in handleArgumentWithTypeTagAttr()
5017 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleTypeTagForDatatypeAttr()
5026 S.Diag(AL.getLoc(), diag::err_attribute_wrong_decl_type) in handleTypeTagForDatatypeAttr()
5126 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleArmBuiltinAliasAttr()
5139 S.Diag(AL.getLoc(), diag::err_attribute_arm_builtin_alias); in handleArmBuiltinAliasAttr()
5383 SourceLocation loc = Attrs.getLoc(); in handleObjCReturnsInnerPointerAttr()
5426 auto Loc = E ? E->getBeginLoc() : AL.getLoc(); in handleNSErrorDomain()
5460 S.Diag(AL.getLoc(), diag::err_objc_attr_typedef_not_id) << AL; in handleObjCBridgeAttr()
5467 S.Diag(AL.getLoc(), diag::err_objc_attr_typedef_not_void_pointer); in handleObjCBridgeAttr()
5578 S.Diag(AL.getLoc(), diag::err_objc_precise_lifetime_bad_type) in handleObjCPreciseLifetimeAttr()
5602 S.Diag(AL.getLoc(), diag::warn_objc_precise_lifetime_meaningless) in handleObjCPreciseLifetimeAttr()
5629 S.Diag(AL.getLoc(), diag::warn_duplicate_attribute) << AL; in handleSwiftBridge()
5665 S.Diag(AL.getLoc(), diag::err_attr_swift_error_no_error_parameter) in handleSwiftError()
5678 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleSwiftError()
5689 S.Diag(AL.getLoc(), diag::err_attr_swift_error_return_type) in handleSwiftError()
5702 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleSwiftError()
6048 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleSwiftNewType()
6056 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << II; in handleSwiftNewType()
6061 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type_str) in handleSwiftNewType()
6071 S.Diag(AL.getLoc(), diag::err_attribute_argument_n_type) in handleSwiftAsyncAttr()
6079 S.Diag(AL.getLoc(), diag::err_swift_async_no_access) << AL << II; in handleSwiftAsyncAttr()
6130 Diag(CI.getLoc(), diag::note_previous_uuid); in mergeUuidAttr()
6140 S.Diag(AL.getLoc(), diag::err_attribute_not_supported_in_lang) in handleUuidAttr()
6191 S.Diag(AL.getLoc(), diag::warn_atl_uuid_deprecated); in handleUuidAttr()
6200 S.Diag(AL.getLoc(), diag::err_attribute_not_supported_in_lang) in handleMSInheritanceAttr()
6215 S.Diag(AL.getLoc(), diag::err_thread_unsupported); in handleDeclspecThreadAttr()
6219 S.Diag(AL.getLoc(), diag::err_declspec_thread_on_thread_variable); in handleDeclspecThreadAttr()
6223 S.Diag(AL.getLoc(), diag::err_thread_non_global) << "__declspec(thread)"; in handleDeclspecThreadAttr()
6240 S.Diag(AL.getLoc(), diag::warn_attr_abi_tag_namespace) << 0; in handleAbiTagAttr()
6244 S.Diag(AL.getLoc(), diag::warn_attr_abi_tag_namespace) << 1; in handleAbiTagAttr()
6263 S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1; in handleARMInterruptAttr()
6277 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << Str in handleARMInterruptAttr()
6311 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleMSP430InterruptAttr()
6319 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleMSP430InterruptAttr()
6327 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleMSP430InterruptAttr()
6340 S.Diag(AL.getLoc(), diag::err_attribute_too_many_arguments) << AL << 1; in handleMipsInterruptAttr()
6384 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) in handleMipsInterruptAttr()
6402 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleAnyX86InterruptAttr()
6532 Diag(AL.getLoc(), diag::note_previous_attribute); in mergeImportModuleAttr()
6536 Diag(AL.getLoc(), diag::warn_import_on_definition) << 0; in mergeImportModuleAttr()
6552 Diag(AL.getLoc(), diag::note_previous_attribute); in mergeImportNameAttr()
6556 Diag(AL.getLoc(), diag::warn_import_on_definition) << 1; in mergeImportNameAttr()
6572 S.Diag(AL.getLoc(), diag::warn_import_on_definition) << 0; in handleWebAssemblyImportModuleAttr()
6589 S.Diag(AL.getLoc(), diag::warn_import_on_definition) << 1; in handleWebAssemblyImportNameAttr()
6646 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << Str in handleRISCVInterruptAttr()
6820 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) in handleX86ForceAlignArgPointerAttr()
6836 S.Diag(AL.getLoc(), diag::err_attribute_argument_out_of_bounds) in handleLayoutVersion()
6852 Diag(CI.getLoc(), diag::warn_attribute_ignored) << "'dllimport'"; in mergeDLLImportAttr()
6916 Diag(CI.getLoc(), diag::note_previous_ms_inheritance); in mergeMSInheritanceAttr()
6928 Diag(CI.getLoc(), diag::warn_ignored_ms_inheritance) in mergeMSInheritanceAttr()
6933 Diag(CI.getLoc(), diag::warn_ignored_ms_inheritance) in mergeMSInheritanceAttr()
7019 S.Diag(AL.getLoc(), diag::warn_deprecated_anonymous_namespace); in handleDeprecatedAttr()
7041 S.Diag(AL.getLoc(), diag::ext_cxx14_attr) << AL; in handleDeprecatedAttr()
7116 S.Diag(AL.getLoc(), diag::err_attribute_requires_opencl_version) in handleOpenCLNoSVMAttr()
7119 S.Diag(AL.getLoc(), diag::warn_opencl_attr_deprecated_ignored) << AL in handleOpenCLNoSVMAttr()
7174 S.Diag(AL.getLoc(), diag::warn_duplicate_declspec) in handleOpenCLAccessAttr()
7177 S.Diag(AL.getLoc(), diag::err_opencl_multiple_access_qualifiers) in handleOpenCLAccessAttr()
7195 S.Diag(AL.getLoc(), diag::err_opencl_invalid_read_write) in handleOpenCLAccessAttr()
7366 S.Diag(AL.getLoc(), diag::warn_declspec_allocator_nonpointer) in handleMSAllocatorAttr()
7381 S.Diag(AL.getLoc(), diag::err_attribute_output_parameter) in handleAcquireHandleAttr()
7404 S.Diag(AL.getLoc(), diag::err_attribute_argument_type) in handleCFGuardAttr()
7412 S.Diag(AL.getLoc(), diag::warn_attribute_type_not_supported) << AL << II; in handleCFGuardAttr()
7442 S.Diag(AL.getLoc(), in ProcessDeclAttribute()
7462 S.Diag(AL.getLoc(), diag::err_stmt_attribute_invalid_on_decl) in ProcessDeclAttribute()
8126 Diag(AttrList.begin()->getLoc(), diag::err_attribute_weakref_without_alias) in ProcessDeclAttributeList()
8209 Diag(AL.getLoc(), diag::err_only_annotate_after_access_spec); in ProcessAccessDeclAttributeList()
8227 S.Diag(AL.getLoc(), diag::warn_unknown_attribute_ignored) in checkUnusedDeclAttributes()
8230 S.Diag(AL.getLoc(), diag::warn_attribute_not_on_decl) << AL in checkUnusedDeclAttributes()