report.cc (13323:1cfcaaf573b9) | report.cc (13401:3bf529b4bc51) |
---|---|
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 --- 35 unchanged lines hidden (view full) --- 44ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY] = 45{ 46 [sc_core::SC_INFO] = ReportSevInfo(sc_core::SC_DEFAULT_INFO_ACTIONS), 47 [sc_core::SC_WARNING] = ReportSevInfo(sc_core::SC_DEFAULT_WARNING_ACTIONS), 48 [sc_core::SC_ERROR] = ReportSevInfo(sc_core::SC_DEFAULT_ERROR_ACTIONS), 49 [sc_core::SC_FATAL] = ReportSevInfo(sc_core::SC_DEFAULT_FATAL_ACTIONS) 50}; 51 | 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 --- 35 unchanged lines hidden (view full) --- 44ReportSevInfo reportSevInfos[sc_core::SC_MAX_SEVERITY] = 45{ 46 [sc_core::SC_INFO] = ReportSevInfo(sc_core::SC_DEFAULT_INFO_ACTIONS), 47 [sc_core::SC_WARNING] = ReportSevInfo(sc_core::SC_DEFAULT_WARNING_ACTIONS), 48 [sc_core::SC_ERROR] = ReportSevInfo(sc_core::SC_DEFAULT_ERROR_ACTIONS), 49 [sc_core::SC_FATAL] = ReportSevInfo(sc_core::SC_DEFAULT_FATAL_ACTIONS) 50}; 51 |
52std::map<std::string, ReportMsgInfo> reportMsgInfoMap; 53std::map<int, std::string> reportIdToMsgMap; | 52std::map<std::string, ReportMsgInfo> & 53reportMsgInfoMap() 54{ 55 static std::map<std::string, ReportMsgInfo> m; 56 return m; 57} |
54 | 58 |
59std::map<int, std::string> & 60reportIdToMsgMap() 61{ 62 static std::map<int, std::string> m; 63 return m; 64} 65 |
|
55int reportVerbosityLevel = sc_core::SC_MEDIUM; 56 57sc_core::sc_actions reportSuppressedActions = sc_core::SC_UNSPECIFIED; 58sc_core::sc_actions reportForcedActions = sc_core::SC_UNSPECIFIED; 59sc_core::sc_actions reportCatchActions = sc_core::SC_DISPLAY; 60 61sc_core::sc_report_handler_proc reportHandlerProc = 62 &sc_core::sc_report_handler::default_handler; --- 44 unchanged lines hidden --- | 66int reportVerbosityLevel = sc_core::SC_MEDIUM; 67 68sc_core::sc_actions reportSuppressedActions = sc_core::SC_UNSPECIFIED; 69sc_core::sc_actions reportForcedActions = sc_core::SC_UNSPECIFIED; 70sc_core::sc_actions reportCatchActions = sc_core::SC_DISPLAY; 71 72sc_core::sc_report_handler_proc reportHandlerProc = 73 &sc_core::sc_report_handler::default_handler; --- 44 unchanged lines hidden --- |