report.hh (13313:306a97d3b040) report.hh (13316:0423798f1a05)
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

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

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_UTILS_REPORT_HH__
31#define __SYSTEMC_UTILS_REPORT_HH__
32
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

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

25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_UTILS_REPORT_HH__
31#define __SYSTEMC_UTILS_REPORT_HH__
32
33#include <initializer_list>
33#include <map>
34#include <memory>
35#include <string>
34#include <map>
35#include <memory>
36#include <string>
37#include <utility>
36
37#include "systemc/ext/utils/sc_report.hh"
38#include "systemc/ext/utils/sc_report_handler.hh"
39
40namespace sc_gem5
41{
42
43struct ReportMsgInfo

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

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
38
39#include "systemc/ext/utils/sc_report.hh"
40#include "systemc/ext/utils/sc_report_handler.hh"
41
42namespace sc_gem5
43{
44
45struct ReportMsgInfo

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

103extern sc_core::sc_actions reportCatchActions;
104
105extern sc_core::sc_report_handler_proc reportHandlerProc;
106
107extern std::unique_ptr<sc_core::sc_report> globalReportCache;
108
109extern bool reportWarningsAsErrors;
110
111struct DefaultReportMessages
112{
113 public:
114 DefaultReportMessages(std::initializer_list<std::pair<int, const char *>>);
115};
116
109} // namespace sc_gem5
110
111#endif // __SYSTEMC_UTILS_REPORT_HH__
117} // namespace sc_gem5
118
119#endif // __SYSTEMC_UTILS_REPORT_HH__