Skip to content

Commit 4c8aa20

Browse files
Update test & revert unnecessary code change
1 parent b2e2070 commit 4c8aa20

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,8 @@ static TypeDeclarationStmt makeIterSpecDecl(std::list<ObjectName> &&names) {
157157

158158
TYPE_PARSER(construct<OmpAlignment>(scalarIntExpr))
159159

160-
TYPE_PARSER(
161-
construct<OmpAlignModifier>("ALIGN"_tok >> parenthesized(scalarIntExpr)))
160+
TYPE_PARSER(construct<OmpAlignModifier>( //
161+
"ALIGN" >> parenthesized(scalarIntExpr)))
162162

163163
TYPE_PARSER(construct<OmpAllocatorComplexModifier>(
164164
"ALLOCATOR" >> parenthesized(scalarIntExpr)))

flang/test/Lower/OpenMP/Todo/allocate-clause-align.f90

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
! REQUIRES: openmp_runtime
21
! RUN: %not_todo_cmd %flang_fc1 -emit-fir -fopenmp -fopenmp-version=51 -o - %s 2>&1 | FileCheck %s
32

43
! CHECK: not yet implemented: OmpAllocateClause ALIGN modifier
54
program p
6-
use omp_lib
75
integer :: x
86
integer :: a
97
integer :: i

0 commit comments

Comments
 (0)