@@ -9301,16 +9301,10 @@ def warn_unused_call : Warning<
93019301 "ignoring return value of function declared with %0 attribute">,
93029302 InGroup<UnusedValue>;
93039303def warn_unused_return_type : Warning<
9304- "ignoring %select{return value|temporary}0 of type %2 declared with %1 attribute">,
9305- InGroup<UnusedValue>;
9306- def warn_unused_return_type_msg : Warning<
9307- "ignoring %select{return value|temporary}0 of type %2 declared with %1 attribute: %3">,
9304+ "ignoring %select{return value|temporary}0 of type %2 declared with %1 attribute%select{|: %4}3">,
93089305 InGroup<UnusedValue>;
93099306def warn_unused_constructor : Warning<
9310- "ignoring temporary created by a constructor declared with %0 attribute">,
9311- InGroup<UnusedValue>;
9312- def warn_unused_constructor_msg : Warning<
9313- "ignoring temporary created by a constructor declared with %0 attribute: %1">,
9307+ "ignoring temporary created by a constructor declared with %0 attribute%select{|: %2}1">,
93149308 InGroup<UnusedValue>;
93159309def warn_side_effects_unevaluated_context : Warning<
93169310 "expression with side effects has no effect in an unevaluated context">,
@@ -9319,10 +9313,7 @@ def warn_side_effects_typeid : Warning<
93199313 "expression with side effects will be evaluated despite being used as an "
93209314 "operand to 'typeid'">, InGroup<PotentiallyEvaluatedExpression>;
93219315def warn_unused_result : Warning<
9322- "ignoring return value of function declared with %0 attribute">,
9323- InGroup<UnusedResult>;
9324- def warn_unused_result_msg : Warning<
9325- "ignoring return value of function declared with %0 attribute: %1">,
9316+ "ignoring return value of function declared with %0 attribute%select{|: %2}1">,
93269317 InGroup<UnusedResult>;
93279318def warn_unused_result_typedef_unsupported_spelling : Warning<
93289319 "'[[%select{nodiscard|gnu::warn_unused_result}0]]' attribute ignored when "
0 commit comments