diff options
Diffstat (limited to 'gcc/diagnostic-core.h')
-rw-r--r-- | gcc/diagnostic-core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/diagnostic-core.h b/gcc/diagnostic-core.h index aa5807e..e4ebe00 100644 --- a/gcc/diagnostic-core.h +++ b/gcc/diagnostic-core.h @@ -36,6 +36,15 @@ typedef enum DK_POP } diagnostic_t; +/* RAII-style class for grouping related diagnostics. */ + +class auto_diagnostic_group +{ + public: + auto_diagnostic_group (); + ~auto_diagnostic_group (); +}; + extern const char *progname; extern const char *trim_filename (const char *); |