llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: Andy Kaylor (andykaylor)

<details>
<summary>Changes</summary>

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.

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


1 Files Affected:

- (modified) clang/test/CIR/CodeGenOpenACC/openacc-not-implemented.cpp (+1-1) 


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

``````````

</details>


https://github.com/llvm/llvm-project/pull/141155
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to