summaryrefslogtreecommitdiff
path: root/src/systemc/ext/utils/sc_report.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-15 15:14:54 -0700
committerGabe Black <gabeblack@google.com>2018-08-22 00:55:25 +0000
commit84c1b3b3ed6d5f03e23efb2efa3fd04b3fab4b35 (patch)
tree00f706018f3842fd0f713c508c7b142c61ab8d4d /src/systemc/ext/utils/sc_report.hh
parent5d24b0a5adafa4ae09b29ec0e2cbc1a2ecd4126f (diff)
downloadgem5-84c1b3b3ed6d5f03e23efb2efa3fd04b3fab4b35.tar.xz
systemc: Add support for deprecated integer report handler ids.
These are deprecated but still used in the regression tests. Change-Id: Id59cf950fbe0530a6cdce20a256d450b243f12d3 Reviewed-on: https://gem5-review.googlesource.com/11256 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/utils/sc_report.hh')
-rw-r--r--src/systemc/ext/utils/sc_report.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/systemc/ext/utils/sc_report.hh b/src/systemc/ext/utils/sc_report.hh
index 9ba2b334d..f0ed14fb2 100644
--- a/src/systemc/ext/utils/sc_report.hh
+++ b/src/systemc/ext/utils/sc_report.hh
@@ -74,6 +74,16 @@ class sc_report : public std::exception
const char *get_process_name() const;
virtual const char *what() const throw();
+
+ // Deprecated
+ static const char *get_message(int id);
+ static bool is_suppressed(int id);
+ static void make_warnings_errors(bool);
+ static void register_id(int id, const char *msg);
+ static void suppress_id(int id, bool); // Only for info or warning.
+ static void suppress_infos(bool);
+ static void suppress_warnings(bool);
+ int get_id() const;
};
// A non-standard function the Accellera datatypes rely on.