3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-22 22:03:40 +00:00

Use C++11 [[noreturn]] attribute.

This commit is contained in:
whitequark 2020-06-19 01:05:59 +00:00
parent 7191dd16f9
commit 60478a8e3a
3 changed files with 5 additions and 8 deletions

View file

@ -319,7 +319,7 @@ void log_file_info(const std::string &filename, int lineno,
va_end(ap);
}
YS_ATTRIBUTE(noreturn)
[[noreturn]]
static void logv_error_with_prefix(const char *prefix,
const char *format, va_list ap)
{