[clang] 95fa5f3 - [OpenACC] Fix ast-print test that failed due to copy/paste error
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 13:02:17 PST 2024
Author: erichkeane
Date: 2024-11-13T13:02:13-08:00
New Revision: 95fa5f39a0506948bd3c81842c7828d7892023cd
URL: https://github.com/llvm/llvm-project/commit/95fa5f39a0506948bd3c81842c7828d7892023cd
DIFF: https://github.com/llvm/llvm-project/commit/95fa5f39a0506948bd3c81842c7828d7892023cd.diff
LOG: [OpenACC] Fix ast-print test that failed due to copy/paste error
Added:
Modified:
clang/test/AST/ast-print-openacc-combined-construct.cpp
Removed:
################################################################################
diff --git a/clang/test/AST/ast-print-openacc-combined-construct.cpp b/clang/test/AST/ast-print-openacc-combined-construct.cpp
index b2a6799deb3fce..14b8d0bab40041 100644
--- a/clang/test/AST/ast-print-openacc-combined-construct.cpp
+++ b/clang/test/AST/ast-print-openacc-combined-construct.cpp
@@ -74,16 +74,16 @@ void foo() {
int i;
float array[5];
-// CHECK: #pragma acc parallel self(i == 3)
+// CHECK: #pragma acc parallel loop self(i == 3)
// CHECK-NEXT: for (int i = 0; i < 5; ++i)
// CHECK-NEXT: ;
#pragma acc parallel loop self(i == 3)
for(int i = 0;i<5;++i);
-// CHECK: #pragma acc kernels if(i == array[1])
+// CHECK: #pragma acc kernels loop if(i == array[1])
// CHECK-NEXT: for (int i = 0; i < 5; ++i)
// CHECK-NEXT: ;
-#pragma acc kernels if(i == array[1])
+#pragma acc kernels loop if(i == array[1])
for(int i = 0;i<5;++i);
}
More information about the cfe-commits
mailing list