@@ -84,18 +84,16 @@ subroutine f03(x)
8484
8585! UNPARSE: SUBROUTINE f03 (x)
8686! UNPARSE: INTEGER x
87- ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL)
87+ ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL)
8888! UNPARSE: END SUBROUTINE
8989
90- ! PARSE-TREE: SpecificationPart
91- ! [...]
92- ! PARSE-TREE: | DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct
93- ! PARSE-TREE: | | Verbatim
94- ! PARSE-TREE: | | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
95- ! PARSE-TREE: | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
96- ! PARSE-TREE: | | | Modifier -> OmpLinearModifier -> Value = Uval
97- ! PARSE-TREE: | | | bool = 'true'
98- ! PARSE-TREE: ExecutionPart -> Block
90+ ! PARSE-TREE: DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct -> OmpDirectiveSpecification
91+ ! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare simd
92+ ! PARSE-TREE: | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
93+ ! PARSE-TREE: | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
94+ ! PARSE-TREE: | | Modifier -> OmpLinearModifier -> Value = Uval
95+ ! PARSE-TREE: | | bool = 'true'
96+ ! PARSE-TREE: | Flags = None
9997
10098subroutine f04 (x )
10199 integer :: x
@@ -104,17 +102,15 @@ subroutine f04(x)
104102
105103! UNPARSE: SUBROUTINE f04 (x)
106104! UNPARSE: INTEGER x
107- ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL, STEP(3_4))
105+ ! UNPARSE: !$OMP DECLARE SIMD LINEAR(x: UVAL, STEP(3_4))
108106! UNPARSE: END SUBROUTINE
109107
110- ! PARSE-TREE: SpecificationPart
111- ! [...]
112- ! PARSE-TREE: | DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct
113- ! PARSE-TREE: | | Verbatim
114- ! PARSE-TREE: | | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
115- ! PARSE-TREE: | | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
116- ! PARSE-TREE: | | | Modifier -> OmpLinearModifier -> Value = Uval
117- ! PARSE-TREE: | | | Modifier -> OmpStepComplexModifier -> Scalar -> Integer -> Expr = '3_4'
118- ! PARSE-TREE: | | | | LiteralConstant -> IntLiteralConstant = '3'
119- ! PARSE-TREE: | | | bool = 'true'
120- ! PARSE-TREE: ExecutionPart -> Block
108+ ! PARSE-TREE: DeclarationConstruct -> SpecificationConstruct -> OpenMPDeclarativeConstruct -> OpenMPDeclareSimdConstruct -> OmpDirectiveSpecification
109+ ! PARSE-TREE: | OmpDirectiveName -> llvm::omp::Directive = declare simd
110+ ! PARSE-TREE: | OmpClauseList -> OmpClause -> Linear -> OmpLinearClause
111+ ! PARSE-TREE: | | OmpObjectList -> OmpObject -> Designator -> DataRef -> Name = 'x'
112+ ! PARSE-TREE: | | Modifier -> OmpLinearModifier -> Value = Uval
113+ ! PARSE-TREE: | | Modifier -> OmpStepComplexModifier -> Scalar -> Integer -> Expr = '3_4'
114+ ! PARSE-TREE: | | | LiteralConstant -> IntLiteralConstant = '3'
115+ ! PARSE-TREE: | | bool = 'true'
116+ ! PARSE-TREE: | Flags = None
0 commit comments