mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
Add error/warning suppression with suppress_msg and unsuppress_msg commands (#157)
* Add error/warning suppression with `suppress_msg` and `unsuppress_msg` commands * Fixes * Merge docs * Fixes * Remove optional arg from class * Add where to find message codes * Update docs * Requested fixes * Deal with errors on the TCL side instead of C++ side * Update ok file * Add back in C++ side error suppression and have tests for both C++/TCL side suppression * Requested fixes to ChangeLog and unifying suppression in C++/TCL * Requested fixes * Requested test adjustments * Smallfixes * Smallfixes * Another smallfix
This commit is contained in:
@@ -34,11 +34,14 @@ public:
|
||||
class ExceptionMsg : public Exception
|
||||
{
|
||||
public:
|
||||
ExceptionMsg(const char *msg);
|
||||
ExceptionMsg(const char *msg,
|
||||
const bool suppressed);
|
||||
virtual const char *what() const noexcept;
|
||||
virtual bool suppressed() const { return suppressed_; }
|
||||
|
||||
private:
|
||||
string msg_;
|
||||
bool suppressed_;
|
||||
};
|
||||
|
||||
class ExceptionLine : public Exception
|
||||
|
||||
Reference in New Issue
Block a user