提交 adf7758a 编写于 作者: B Behdad Esfahbod

Improve debug log format in presence of templates

上级 2c53bd3c
......@@ -588,7 +588,11 @@ _hb_debug_msg_va (const char *what,
} else
fprintf (stderr, " " VRBAR LBAR);
if (func) {
if (func)
{
/* Skip "typename" */
if (0 == strncmp (func, "typename ", 9))
func += 9;
/* Skip return type */
const char *space = strchr (func, ' ');
if (space)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册