* diagnostic.c (diagnostc_report_diagnostic): Fix formatting.
From-SVN: r241027
This commit is contained in:
parent
393525afc3
commit
d5e7854c12
|
@ -1,3 +1,7 @@
|
||||||
|
2016-10-12 Nathan Sidwell <nathan@acm.org>
|
||||||
|
|
||||||
|
* diagnostic.c (diagnostc_report_diagnostic): Fix formatting.
|
||||||
|
|
||||||
2016-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
|
2016-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
|
||||||
|
|
||||||
* dwarf2out.c (int_loc_descriptor): Generate opcodes for another
|
* dwarf2out.c (int_loc_descriptor): Generate opcodes for another
|
||||||
|
|
|
@ -877,13 +877,15 @@ diagnostic_report_diagnostic (diagnostic_context *context,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* This tests if the user provided the appropriate -Werror=foo
|
/* This tests if the user provided the appropriate -Werror=foo
|
||||||
option. */
|
option. */
|
||||||
if (diag_class == DK_UNSPECIFIED
|
if (diag_class == DK_UNSPECIFIED
|
||||||
&& context->classify_diagnostic[diagnostic->option_index] != DK_UNSPECIFIED)
|
&& (context->classify_diagnostic[diagnostic->option_index]
|
||||||
{
|
!= DK_UNSPECIFIED))
|
||||||
diagnostic->kind = context->classify_diagnostic[diagnostic->option_index];
|
diagnostic->kind
|
||||||
}
|
= context->classify_diagnostic[diagnostic->option_index];
|
||||||
|
|
||||||
/* This allows for future extensions, like temporarily disabling
|
/* This allows for future extensions, like temporarily disabling
|
||||||
warnings for ranges of source code. */
|
warnings for ranges of source code. */
|
||||||
if (diagnostic->kind == DK_IGNORED)
|
if (diagnostic->kind == DK_IGNORED)
|
||||||
|
|
Loading…
Reference in New Issue