[flang-commits] [flang] 0aa5502 - Fix build error from #151511.
Akash Banerjee via flang-commits
flang-commits at lists.llvm.org
Thu Jul 31 09:08:23 PDT 2025
Author: Akash Banerjee
Date: 2025-07-31T17:08:03+01:00
New Revision: 0aa5502d68761d18738d0f37430951152c18ff50
URL: https://github.com/llvm/llvm-project/commit/0aa5502d68761d18738d0f37430951152c18ff50
DIFF: https://github.com/llvm/llvm-project/commit/0aa5502d68761d18738d0f37430951152c18ff50.diff
LOG: Fix build error from #151511.
Added:
Modified:
flang/test/Parser/OpenMP/declare-target-indirect-tree.f90
Removed:
################################################################################
diff --git a/flang/test/Parser/OpenMP/declare-target-indirect-tree.f90 b/flang/test/Parser/OpenMP/declare-target-indirect-tree.f90
index df85942ec15a5..916bd66017ce0 100644
--- a/flang/test/Parser/OpenMP/declare-target-indirect-tree.f90
+++ b/flang/test/Parser/OpenMP/declare-target-indirect-tree.f90
@@ -15,7 +15,8 @@ function func() result(i)
contains
function func1() result(i)
!$omp declare target enter(func1) indirect(.true.)
- !CHECK: | | | | | OmpDeclareTargetSpecifier -> OmpDeclareTargetWithClause -> OmpClauseList -> OmpClause -> Enter -> OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'func1'
+ !CHECK: | | | | | OmpDeclareTargetSpecifier -> OmpDeclareTargetWithClause -> OmpClauseList -> OmpClause -> Enter -> OmpEnterClause
+ !CHECK-NEXT: | | | | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'func1'
!CHECK-NEXT: | | | | | OmpClause -> Indirect -> OmpIndirectClause -> Scalar -> Logical -> Expr = '.true._4'
!CHECK-NEXT: | | | | | | LiteralConstant -> LogicalLiteralConstant
!CHECK-NEXT: | | | | | | | bool = 'true'
@@ -26,7 +27,8 @@ function func1() result(i)
function func2() result(i)
!$omp declare target enter(func2) indirect
- !CHECK: | | | | | OmpDeclareTargetSpecifier -> OmpDeclareTargetWithClause -> OmpClauseList -> OmpClause -> Enter -> OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'func2'
+ !CHECK: | | | | | OmpDeclareTargetSpecifier -> OmpDeclareTargetWithClause -> OmpClauseList -> OmpClause -> Enter -> OmpEnterClause
+ !CHECK-NEXT: | | | | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'func2'
!CHECK-NEXT: | | | | | OmpClause -> Indirect -> OmpIndirectClause ->
character(1) :: i
i = 'b'
More information about the flang-commits
mailing list