https://github.com/andykaylor created 
https://github.com/llvm/llvm-project/pull/141155

A recent change to the error message produced for unhandled compound statements 
without scope introduced a failure in an OpenACC test that was checking for the 
old error message. This change updates the test to check for the new message.

>From 901ff58013a2cd43fcc1702a98843053ac34a087 Mon Sep 17 00:00:00 2001
From: Andy Kaylor <akay...@nvidia.com>
Date: Thu, 22 May 2025 15:48:10 -0700
Subject: [PATCH] [CIR][NFC] Fix failing OpenACC NYI test

A recent change to the error message produced for unhandled compound
statements without scope introduced a failure in an OpenACC test that
was checking for the old error message. This change updates the test
to check for the new message.
---
 clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp 
b/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
index 95b04a314ad8e..1dfb2edd128f8 100644
--- a/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
+++ b/clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp
@@ -3,7 +3,7 @@
 void HelloWorld(int *A, int *B, int *C, int N) {
 
 // expected-error@+2{{ClangIR code gen Not Yet Implemented: OpenACC Atomic 
Construct}}
-// expected-error@+1{{ClangIR code gen Not Yet Implemented: statement}}
+// expected-error@+1{{ClangIR code gen Not Yet Implemented: 
emitCompoundStmtWithoutScope: OpenACCAtomicConstruct}}
 #pragma acc atomic
   N = N + 1;
 

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to