https://github.com/tomershafir created https://github.com/llvm/llvm-project/pull/166133
Better match exactly rather than just a prefix. >From 542c741e5ebf60c45c59fbb7b68dbe2c318b681f Mon Sep 17 00:00:00 2001 From: tomershafir <[email protected]> Date: Thu, 30 Oct 2025 22:38:00 +0200 Subject: [PATCH] [Clang][Bytecode] Match exact void pointer deref error message Better match exactly rather than just a prefix. --- clang/test/AST/ByteCode/cxx11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/AST/ByteCode/cxx11.cpp b/clang/test/AST/ByteCode/cxx11.cpp index 427d3a106656b..e283a7b42e554 100644 --- a/clang/test/AST/ByteCode/cxx11.cpp +++ b/clang/test/AST/ByteCode/cxx11.cpp @@ -374,7 +374,7 @@ namespace GH150709 { namespace DiscardedAddrLabel { void foo(void) { L: - *&&L; // both-error {{indirection not permitted}} \ + *&&L; // both-error {{indirection not permitted on operand of type 'void *'}} \ // both-warning {{expression result unused}} } } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
