3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-01 13:08:54 +00:00

Merge pull request #5995 from YosysHQ/log_cleanup

Removed rewrite leftovers from log
This commit is contained in:
Miodrag Milanović 2026-06-29 07:44:40 +00:00 committed by GitHub
commit afe6b18f28
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 19 deletions

View file

@ -388,12 +388,6 @@ void log_formatted_file_error(std::string_view filename, int lineno, std::string
log_error_with_prefix(prefix, str);
}
void logv_file_error(const string &filename, int lineno,
const char *format, va_list ap)
{
log_formatted_file_error(filename, lineno, vstringf(format, ap));
}
void log_experimental(const std::string &str)
{
if (log_experimentals_ignored.count(str) == 0 && log_experimentals.count(str) == 0) {

View file

@ -24,7 +24,6 @@
#include <time.h>
#include <atomic>
#include <regex>
#define YS_REGEX_COMPILE(param) std::regex(param, \
std::regex_constants::nosubs | \
@ -44,20 +43,11 @@
# endif
#endif
#if defined(_MSC_VER)
// At least this is not in MSVC++ 2013.
# define __PRETTY_FUNCTION__ __FUNCTION__
#endif
// from libs/sha1/sha1.h
class SHA1;
YOSYS_NAMESPACE_BEGIN
#define S__LINE__sub2(x) #x
#define S__LINE__sub1(x) S__LINE__sub2(x)
#define S__LINE__ S__LINE__sub1(__LINE__)
// YS_DEBUGTRAP is a macro that is functionally equivalent to a breakpoint
// if the platform provides such functionality, and does nothing otherwise.
// If no debugger is attached, it starts a just-in-time debugger if available,
@ -120,9 +110,6 @@ extern int log_make_debug;
extern int log_force_debug;
extern int log_debug_suppressed;
[[deprecated]]
[[noreturn]] void logv_file_error(const string &filename, int lineno, const char *format, va_list ap);
void set_verific_logging(void (*cb)(int msg_type, const char *message_id, const char* file_path, unsigned int left_line, unsigned int left_col, unsigned int right_line, unsigned int right_col, const char *msg));
extern void (*log_verific_callback)(int msg_type, const char *message_id, const char* file_path, unsigned int left_line, unsigned int left_col, unsigned int right_line, unsigned int right_col, const char *msg);