[Openmp-commits] [openmp] Fix apostrophes in assert error message (PR #69881)
Johannes Doerfert via Openmp-commits
openmp-commits at lists.llvm.org
Mon Nov 20 12:44:16 PST 2023
================
@@ -32,10 +32,10 @@ void __assert_fail(const char *expr, const char *file, unsigned line,
void __assert_fail_internal(const char *expr, const char *msg, const char *file,
unsigned line, const char *function) {
if (msg) {
- PRINTF("%s:%u: %s: Assertion %s (`%s') failed.\n", file, line, function,
+ PRINTF("%s:%u: %s: Assertion %s (`%s`) failed.\n", file, line, function,
msg, expr);
} else {
- PRINTF("%s:%u: %s: Assertion `%s' failed.\n", file, line, function, expr);
+ PRINTF("%s:%u: %s: Assertion `%s` failed.\n", file, line, function, expr);
----------------
jdoerfert wrote:
I was probably going for apostrophes `'`. I might have been thinking latex: ``text'', who knows.
https://github.com/llvm/llvm-project/pull/69881
More information about the Openmp-commits
mailing list