3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-03 13:07:58 +00:00

Merge pull request #5211 from rocallahan/remove-log_str

Remove `log_str()` functions and convert their `log_signal()` users t…
This commit is contained in:
Jannis Harder 2025-09-12 14:10:47 +02:00 committed by GitHub
commit b87a33d64e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 23 additions and 34 deletions

View file

@ -256,8 +256,6 @@ void log_check_expected();
const char *log_signal(const RTLIL::SigSpec &sig, bool autoint = true);
const char *log_const(const RTLIL::Const &value, bool autoint = true);
const char *log_id(const RTLIL::IdString &id);
const char *log_str(const char *str);
const char *log_str(std::string const &str);
template<typename T> static inline const char *log_id(T *obj, const char *nullstr = nullptr) {
if (nullstr && obj == nullptr)