[clang] 41f9c78 - [OpenACC] Fix test failure from fa67986d
via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 30 11:54:48 PDT 2024
Author: erichkeane
Date: 2024-04-30T11:53:57-07:00
New Revision: 41f9c78f6a4efe38edbb0b62131b0a0bf619c99a
URL: https://github.com/llvm/llvm-project/commit/41f9c78f6a4efe38edbb0b62131b0a0bf619c99a
DIFF: https://github.com/llvm/llvm-project/commit/41f9c78f6a4efe38edbb0b62131b0a0bf619c99a.diff
LOG: [OpenACC] Fix test failure from fa67986d
Seemingly some other patch went in that altered how much dependence was
printed vs the actual names, and it changed the ast-dump results.
Commit to fix this test.
Added:
Modified:
clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
Removed:
################################################################################
diff --git a/clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp b/clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
index 5d10106724b907..341be3c58ebd21 100644
--- a/clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
+++ b/clang/test/SemaOpenACC/compute-construct-varlist-ast.cpp
@@ -411,8 +411,8 @@ struct STempl {
// CHECK-NEXT: private clause
// CHECK-NEXT: MemberExpr{{.*}} 'U' lvalue ->ThisMember
// CHECK-NEXT: CXXThisExpr{{.*}} 'STempl<U> *' implicit this
- // CHECK-NEXT: ArraySubscriptExpr{{.*}} '<dependent type>' lvalue
- // CHECK-NEXT: CXXDependentScopeMemberExpr{{.*}} '<dependent type>' lvalue ->ThisMemberArray
+ // CHECK-NEXT: ArraySubscriptExpr{{.*}} 'U' lvalue
+ // CHECK-NEXT: MemberExpr{{.*}} 'U[5]' lvalue ->ThisMemberArray
// CHECK-NEXT: CXXThisExpr{{.*}} 'STempl<U> *' this
// CHECK-NEXT: IntegerLiteral{{.*}}'int' 1
// CHECK-NEXT: WhileStmt
@@ -455,8 +455,8 @@ struct STempl {
// CHECK-NEXT: private clause
// CHECK-NEXT: MemberExpr{{.*}} 'U' lvalue ->ThisMember
// CHECK-NEXT: CXXThisExpr{{.*}} 'STempl<U> *' implicit this
- // CHECK-NEXT: ArraySubscriptExpr{{.*}} '<dependent type>' lvalue
- // CHECK-NEXT: CXXDependentScopeMemberExpr{{.*}} '<dependent type>' lvalue ->ThisMemberArray
+ // CHECK-NEXT: ArraySubscriptExpr{{.*}} 'U' lvalue
+ // CHECK-NEXT: MemberExpr{{.*}} 'U[5]' lvalue ->ThisMemberArray
// CHECK-NEXT: CXXThisExpr{{.*}} 'STempl<U> *' this
// CHECK-NEXT: IntegerLiteral{{.*}}'int' 1
// CHECK-NEXT: WhileStmt
More information about the cfe-commits
mailing list