Mesa (main): clc: print warnings/errors on their own line
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Oct 3 20:45:58 UTC 2021
Module: Mesa
Branch: main
Commit: 72fd81d0ac98215d6b648bdcd93c16b6d4174f18
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=72fd81d0ac98215d6b648bdcd93c16b6d4174f18
Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date: Fri Jul 30 14:05:49 2021 +0300
clc: print warnings/errors on their own line
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13113>
---
src/compiler/clc/clc_helpers.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/compiler/clc/clc_helpers.cpp b/src/compiler/clc/clc_helpers.cpp
index 2bc798461dc..f251eab4a22 100644
--- a/src/compiler/clc/clc_helpers.cpp
+++ b/src/compiler/clc/clc_helpers.cpp
@@ -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;
More information about the mesa-commit
mailing list