llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Tomer Shafir (tomershafir)

<details>
<summary>Changes</summary>

Better match exactly rather than just a prefix.

---
Full diff: https://github.com/llvm/llvm-project/pull/166133.diff


1 Files Affected:

- (modified) clang/test/AST/ByteCode/cxx11.cpp (+1-1) 


``````````diff
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}}
   }
 }

``````````

</details>


https://github.com/llvm/llvm-project/pull/166133
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to