[clang] bad error message on incorrect string literal #18079 (PR #81670)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 14:17:18 PST 2024


================
@@ -0,0 +1,5 @@
+// RUN: %clang_cc1 -E -fsyntax-only -verify %s
+
+// expected-error at +2{{invalid character ')' character in raw string delimiter; use PREFIX( )PREFIX to delimit raw string}}
----------------
jroelofs wrote:

Before this change, the message used to say `character ')' character`. After this change, it only says "character" once, which I think is why the test is broken: https://buildkite.com/llvm-project/clang-ci/builds/12188#018daa42-213c-4e50-8de0-7b27ec43dde0

https://github.com/llvm/llvm-project/pull/81670


More information about the cfe-commits mailing list