summaryrefslogtreecommitdiffstats
path: root/gcc/diagnostic.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r--gcc/diagnostic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h
index 37cded71180..5bbb135ac34 100644
--- a/gcc/diagnostic.h
+++ b/gcc/diagnostic.h
@@ -73,6 +73,10 @@ struct diagnostic_context
/* True if it has been requested that warnings be treated as errors. */
bool warning_as_error_requested;
+ /* True if we should print the command line option which controls
+ each diagnostic, if known. */
+ bool show_option_requested;
+
/* True if we should raise a SIGABRT on errors. */
bool abort_on_error;
OpenPOWER on IntegriCloud