/* We don't accept '::attr'. */
if (cln == nullptr || cln == opt)
{
+ auto_diagnostic_group d;
error ("wrong argument to ignored attributes");
inform (input_location, "valid format is %<ns::attr%> or %<ns::%>");
continue;
|| (spec->max_length >= 0
&& nargs > spec->max_length))
{
+ auto_diagnostic_group d;
error ("wrong number of arguments specified for %qE attribute",
name);
if (spec->max_length < 0)
std::swap (fn1, fn2);
attr1 = attr2;
}
+ auto_diagnostic_group d;
error_at (DECL_SOURCE_LOCATION (fn2),
"missing %<target%> attribute for multi-versioned %qD",
fn2);