mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
diagnostics: use diagnostic_option_id in one more place
No functional change intended. gcc/ChangeLog: * selftest-diagnostic.cc (test_diagnostic_context::report): Use diagnostic_option_id rather than plain int. * selftest-diagnostic.h (test_diagnostic_context::report): Likewise. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
This commit is contained in:
@@ -69,7 +69,7 @@ bool
|
||||
test_diagnostic_context::report (diagnostic_t kind,
|
||||
rich_location &richloc,
|
||||
const diagnostic_metadata *metadata,
|
||||
int option,
|
||||
diagnostic_option_id option,
|
||||
const char * fmt, ...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
@@ -50,7 +50,7 @@ class test_diagnostic_context : public diagnostic_context
|
||||
report (diagnostic_t kind,
|
||||
rich_location &richloc,
|
||||
const diagnostic_metadata *metadata,
|
||||
int option,
|
||||
diagnostic_option_id option,
|
||||
const char * fmt, ...) ATTRIBUTE_GCC_DIAG(6,7);
|
||||
|
||||
const char *test_show_locus (rich_location &richloc);
|
||||
|
||||
Reference in New Issue
Block a user