report.hh (13312:a7685ffbead8) report.hh (13313:306a97d3b040)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 78 unchanged lines hidden (view full) ---

87 sc_core::sc_actions actions;
88 int count;
89 int limit;
90};
91
92extern const char *reportSeverityNames[sc_core::SC_MAX_SEVERITY];
93extern ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY];
94extern std::map<std::string, ReportMsgInfo> reportMsgInfoMap;
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 78 unchanged lines hidden (view full) ---

87 sc_core::sc_actions actions;
88 int count;
89 int limit;
90};
91
92extern const char *reportSeverityNames[sc_core::SC_MAX_SEVERITY];
93extern ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY];
94extern std::map<std::string, ReportMsgInfo> reportMsgInfoMap;
95extern std::map<int, std::string> reportIdToMsgMap;
95
96extern int reportVerbosityLevel;
97
98extern sc_core::sc_actions reportSuppressedActions;
99extern sc_core::sc_actions reportForcedActions;
100extern sc_core::sc_actions reportCatchActions;
101
102extern sc_core::sc_report_handler_proc reportHandlerProc;
103
104extern std::unique_ptr<sc_core::sc_report> globalReportCache;
105
96
97extern int reportVerbosityLevel;
98
99extern sc_core::sc_actions reportSuppressedActions;
100extern sc_core::sc_actions reportForcedActions;
101extern sc_core::sc_actions reportCatchActions;
102
103extern sc_core::sc_report_handler_proc reportHandlerProc;
104
105extern std::unique_ptr<sc_core::sc_report> globalReportCache;
106
107extern bool reportWarningsAsErrors;
108
106} // namespace sc_gem5
107
108#endif // __SYSTEMC_UTILS_REPORT_HH__
109} // namespace sc_gem5
110
111#endif // __SYSTEMC_UTILS_REPORT_HH__