@@ -130,23 +130,25 @@ def err_intel_fpga_memory_arg_invalid : Error<
130130def err_intel_fpga_merge_dir_invalid : Error<
131131 "merge direction must be 'depth' or 'width'">;
132132def err_intel_fpga_reg_limitations : Error <
133- "Illegal %select{argument of type %1 |field in argument}0 to __builtin_intel_fpga_reg.">;
133+ "illegal %select{argument of type %1 |field in argument}0 to "
134+ "__builtin_intel_fpga_reg">;
134135def illegal_type_declared_here : Note<
135- "Field with illegal type declared here">;
136+ "field with illegal type declared here">;
136137def err_sycl_loop_attr_duplication : Error<
137138 "duplicate %select{unroll|Intel FPGA}0 loop attribute '%1'">;
138139def err_loop_unroll_compatibility : Error<
139140 "incompatible loop unroll instructions: '%0' and '%1'">;
140141def err_pipe_attribute_arg_not_allowed : Error<
141- "'%0' mode for pipe attribute is not supported. Allowed modes: 'read_only', 'write_only'">;
142+ "'%0' mode for pipe attribute is not supported; allowed modes are "
143+ "'read_only' and 'write_only'">;
142144def err_bankbits_numbanks_conflicting : Error<
143145 "the number of bank_bits must be equal to ceil(log2(numbanks))">;
144146def err_bankbits_non_consecutive : Error<
145147 "bank_bits must be consecutive">;
146148def err_intel_fpga_mem_limitations
147149 : Error<
148150 "illegal %select{pointer argument of type %1 |field in type pointed "
149- "to by pointer argument}0 to __builtin_intel_fpga_mem. Only pointers "
151+ "to by pointer argument}0 to __builtin_intel_fpga_mem; only pointers "
150152 "to a first class lvalue or to an rvalue are allowed">;
151153def err_intel_fpga_mem_arg_mismatch
152154 : Error<"builtin parameter must be %select{"
@@ -2855,12 +2857,12 @@ def err_attribute_wrong_number_arguments : Error<
28552857def err_attribute_too_many_arguments : Error<
28562858 "%0 attribute takes no more than %1 argument%s1">;
28572859def warn_attribute_too_many_arguments : Warning<
2858- "%0 attribute takes no more than %1 argument%s1 - attribute ignored">,
2860+ "%0 attribute takes no more than %1 argument%s1; attribute ignored">,
28592861 InGroup<IgnoredAttributes>;
28602862def err_attribute_too_few_arguments : Error<
28612863 "%0 attribute takes at least %1 argument%s1">;
28622864def warn_attribute_too_few_arguments : Warning<
2863- "%0 attribute takes at least %1 argument%s1 - attribute ignored">,
2865+ "%0 attribute takes at least %1 argument%s1; attribute ignored">,
28642866 InGroup<IgnoredAttributes>;
28652867def err_attribute_invalid_vector_type : Error<"invalid vector element type %0">;
28662868def err_attribute_invalid_matrix_type : Error<"invalid matrix element type %0">;
@@ -2877,10 +2879,6 @@ def err_attribute_arm_feature_sve_bits_unsupported : Error<
28772879def err_attribute_requires_positive_integer : Error<
28782880 "%0 attribute requires a %select{positive|non-negative}1 "
28792881 "integral compile time constant expression">;
2880- def warn_attribute_requires_positive_integer : Warning<
2881- "%0 attribute requires a %select{positive|non-negative}1 "
2882- "integral compile time constant expression - attribute ignored">,
2883- InGroup<IgnoredAttributes>;
28842882def err_attribute_requires_opencl_version : Error<
28852883 "%0 attribute requires OpenCL version %1%select{| or above}2">;
28862884def err_invalid_branch_protection_spec : Error<
@@ -11194,12 +11192,12 @@ def warn_sycl_restrict_recursion
1119411192 : Warning<"SYCL kernel cannot call a recursive function">,
1119511193 InGroup<SyclStrict>, DefaultError;
1119611194def err_ivdep_duplicate_arg : Error<
11197- "duplicate argument to 'ivdep'. attribute requires one or both of a safelen "
11195+ "duplicate argument to 'ivdep'; attribute requires one or both of a safelen "
1119811196 "and array">;
1119911197def err_ivdep_unknown_arg : Error<
11200- "unknown argument to 'ivdep'. Expected integer or array variable">;
11198+ "unknown argument to 'ivdep'; expected integer or array variable">;
1120111199def err_ivdep_declrefexpr_arg : Error<
11202- "invalid declaration reference argument to 'ivdep'. Expected integer or array"
11200+ "invalid declaration reference argument to 'ivdep'; expected integer or array"
1120311201 " variable">;
1120411202def warn_ivdep_redundant : Warning <"ignoring redundant Intel FPGA loop "
1120511203 "attribute 'ivdep': safelen %select{INF|%1}0 >= safelen %select{INF|%3}2">,
@@ -11209,6 +11207,8 @@ def warn_attribute_spelling_deprecated : Warning<
1120911207 InGroup<DeprecatedAttributes>;
1121011208def note_spelling_suggestion : Note<
1121111209 "did you mean to use %0 instead?">;
11210+ def warn_attribute_requires_non_negative_integer_argument :
11211+ Warning<warn_impcast_integer_sign.Text>, InGroup<AcceptedAttributes>;
1121211212
1121311213// errors of expect.with.probability
1121411214def err_probability_not_constant_float : Error<
0 commit comments