@@ -1533,10 +1533,9 @@ TYPE_PARSER(construct<OmpInitializerClause>(
15331533 construct<OmpInitializerClause>(Parser<OmpInitializerProc>{})))
15341534
15351535// OpenMP 5.2: 7.5.4 Declare Variant directive
1536- TYPE_PARSER(sourced(
1537- construct<OmpDeclareVariantDirective>(
1538- verbatim("DECLARE VARIANT"_tok) || verbatim("DECLARE_VARIANT"_tok),
1539- "(" >> maybe(name / ":"), name / ")", Parser<OmpClauseList>{})))
1536+ TYPE_PARSER(sourced(construct<OmpDeclareVariantDirective>(
1537+ verbatim("DECLARE VARIANT"_tok) || verbatim("DECLARE_VARIANT"_tok),
1538+ "(" >> maybe(name / ":"), name / ")", Parser<OmpClauseList>{})))
15401539
15411540// 2.16 Declare Reduction Construct
15421541TYPE_PARSER(sourced(construct<OpenMPDeclareReductionConstruct>(
@@ -1587,10 +1586,9 @@ TYPE_PARSER(applyFunction<OmpMapperSpecifier>(ConstructOmpMapperSpecifier,
15871586 maybe(name / ":" / !":"_tok), typeSpec / "::", name))
15881587
15891588// OpenMP 5.2: 5.8.8 Declare Mapper Construct
1590- TYPE_PARSER(sourced(
1591- construct<OpenMPDeclareMapperConstruct>(
1592- verbatim("DECLARE MAPPER"_tok) || verbatim("DECLARE_MAPPER"_tok),
1593- parenthesized(Parser<OmpMapperSpecifier>{}), Parser<OmpClauseList>{})))
1589+ TYPE_PARSER(sourced(construct<OpenMPDeclareMapperConstruct>(
1590+ verbatim("DECLARE MAPPER"_tok) || verbatim("DECLARE_MAPPER"_tok),
1591+ parenthesized(Parser<OmpMapperSpecifier>{}), Parser<OmpClauseList>{})))
15941592
15951593TYPE_PARSER(construct<OmpReductionCombiner>(Parser<AssignmentStmt>{}) ||
15961594 construct<OmpReductionCombiner>(Parser<FunctionReference>{}))
@@ -1635,10 +1633,9 @@ TYPE_PARSER(sourced(construct<OpenMPAllocatorsConstruct>(
16351633TYPE_PARSER(construct<OmpEndAllocators>(startOmpLine >> "END ALLOCATORS"_tok))
16361634
16371635// 2.8.2 Declare Simd construct
1638- TYPE_PARSER(
1639- sourced(construct<OpenMPDeclareSimdConstruct>(
1640- verbatim("DECLARE SIMD"_tok) || verbatim("DECLARE_SIMD"_tok),
1641- maybe(parenthesized(name)), Parser<OmpClauseList>{})))
1636+ TYPE_PARSER(sourced(construct<OpenMPDeclareSimdConstruct>(
1637+ verbatim("DECLARE SIMD"_tok) || verbatim("DECLARE_SIMD"_tok),
1638+ maybe(parenthesized(name)), Parser<OmpClauseList>{})))
16421639
16431640// 2.4 Requires construct
16441641TYPE_PARSER(sourced(construct<OpenMPRequiresConstruct>(
0 commit comments