clc: print warnings/errors on their own line

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13113>
This commit is contained in:
Lionel Landwerlin 2021-07-30 14:05:49 +03:00 committed by Marge Bot
parent 3c8c817ae7
commit 72fd81d0ac
1 changed files with 2 additions and 2 deletions

View File

@ -955,12 +955,12 @@ public:
case SPV_MSG_FATAL:
case SPV_MSG_INTERNAL_ERROR:
case SPV_MSG_ERROR:
clc_error(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s",
clc_error(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s\n",
src, pos.line, pos.column, pos.index, msg);
break;
case SPV_MSG_WARNING:
clc_warning(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s",
clc_warning(logger, "(file=%s,line=%ld,column=%ld,index=%ld): %s\n",
src, pos.line, pos.column, pos.index, msg);
break;