[clang] [CIR][NFC] Fix failing OpenACC NYI test (PR #141155)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 22 15:51:31 PDT 2025
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 at +2{{ClangIR code gen Not Yet Implemented: OpenACC Atomic Construct}}
-// expected-error at +1{{ClangIR code gen Not Yet Implemented: statement}}
+// expected-error at +1{{ClangIR code gen Not Yet Implemented: emitCompoundStmtWithoutScope: OpenACCAtomicConstruct}}
#pragma acc atomic
N = N + 1;
``````````
</details>
https://github.com/llvm/llvm-project/pull/141155
More information about the cfe-commits
mailing list