@@ -394,17 +394,6 @@ TYPE_PARSER(construct<OmpDeviceModifier>(
394394TYPE_PARSER(construct<OmpExpectation>( //
395395 "PRESENT" >> pure(OmpExpectation::Value::Present)))
396396
397- TYPE_PARSER(construct<OmpInteropRuntimeIdentifier>(
398- construct<OmpInteropRuntimeIdentifier>(charLiteralConstant) ||
399- construct<OmpInteropRuntimeIdentifier>(scalarIntConstantExpr)))
400-
401- TYPE_PARSER(construct<OmpInteropPreference>(verbatim("PREFER_TYPE"_tok) >>
402- parenthesized(nonemptyList(Parser<OmpInteropRuntimeIdentifier>{}))))
403-
404- TYPE_PARSER(construct<OmpInteropType>(
405- "TARGETSYNC" >> pure(OmpInteropType::Value::TargetSync) ||
406- "TARGET" >> pure(OmpInteropType::Value::Target)))
407-
408397TYPE_PARSER(construct<OmpIteratorSpecifier>(
409398 // Using Parser<TypeDeclarationStmt> or Parser<EntityDecl> has the problem
410399 // that they will attempt to treat what follows the '=' as initialization.
@@ -532,11 +521,6 @@ TYPE_PARSER(sourced(
532521
533522TYPE_PARSER(sourced(construct<OmpIfClause::Modifier>(OmpDirectiveNameParser{})))
534523
535- TYPE_PARSER(sourced(
536- construct<OmpInitClause::Modifier>(
537- construct<OmpInitClause::Modifier>(Parser<OmpInteropPreference>{})) ||
538- construct<OmpInitClause::Modifier>(Parser<OmpInteropType>{})))
539-
540524TYPE_PARSER(sourced(construct<OmpInReductionClause::Modifier>(
541525 Parser<OmpReductionIdentifier>{})))
542526
@@ -773,11 +757,6 @@ TYPE_PARSER(
773757// OpenMPv5.2 12.5.2 detach-clause -> DETACH (event-handle)
774758TYPE_PARSER(construct<OmpDetachClause>(Parser<OmpObject>{}))
775759
776- // init clause
777- TYPE_PARSER(construct<OmpInitClause>(
778- maybe(nonemptyList(Parser<OmpInitClause::Modifier>{}) / ":"),
779- Parser<OmpObject>{}))
780-
781760// 2.8.1 ALIGNED (list: alignment)
782761TYPE_PARSER(construct<OmpAlignedClause>(Parser<OmpObjectList>{},
783762 maybe(":" >> nonemptyList(Parser<OmpAlignedClause::Modifier>{}))))
@@ -917,8 +896,6 @@ TYPE_PARSER( //
917896 "IF" >> construct<OmpClause>(construct<OmpClause::If>(
918897 parenthesized(Parser<OmpIfClause>{}))) ||
919898 "INBRANCH" >> construct<OmpClause>(construct<OmpClause::Inbranch>()) ||
920- "INIT" >> construct<OmpClause>(construct<OmpClause::Init>(
921- parenthesized(Parser<OmpInitClause>{}))) ||
922899 "INCLUSIVE" >> construct<OmpClause>(construct<OmpClause::Inclusive>(
923900 parenthesized(Parser<OmpObjectList>{}))) ||
924901 "INITIALIZER" >> construct<OmpClause>(construct<OmpClause::Initializer>(
@@ -1008,8 +985,6 @@ TYPE_PARSER( //
1008985 parenthesized(scalarIntExpr))) ||
1009986 "TO" >> construct<OmpClause>(construct<OmpClause::To>(
1010987 parenthesized(Parser<OmpToClause>{}))) ||
1011- "USE" >> construct<OmpClause>(construct<OmpClause::Use>(
1012- parenthesized(Parser<OmpObject>{}))) ||
1013988 "USE_DEVICE_PTR" >> construct<OmpClause>(construct<OmpClause::UseDevicePtr>(
1014989 parenthesized(Parser<OmpObjectList>{}))) ||
1015990 "USE_DEVICE_ADDR" >>
@@ -1237,10 +1212,6 @@ TYPE_PARSER(sourced(construct<OmpSimpleStandaloneDirective>(first(
12371212TYPE_PARSER(sourced(construct<OpenMPSimpleStandaloneConstruct>(
12381213 Parser<OmpSimpleStandaloneDirective>{}, Parser<OmpClauseList>{})))
12391214
1240- // OMP 5.2 14.1 Interop construct
1241- TYPE_PARSER(sourced(construct<OpenMPInteropConstruct>(
1242- verbatim("INTEROP"_tok), sourced(Parser<OmpClauseList>{}))))
1243-
12441215// Standalone Constructs
12451216TYPE_PARSER(
12461217 sourced(construct<OpenMPStandaloneConstruct>(
@@ -1252,9 +1223,7 @@ TYPE_PARSER(
12521223 construct<OpenMPStandaloneConstruct>(Parser<OpenMPCancelConstruct>{}) ||
12531224 construct<OpenMPStandaloneConstruct>(
12541225 Parser<OmpMetadirectiveDirective>{}) ||
1255- construct<OpenMPStandaloneConstruct>(Parser<OpenMPDepobjConstruct>{}) ||
1256- construct<OpenMPStandaloneConstruct>(
1257- Parser<OpenMPInteropConstruct>{})) /
1226+ construct<OpenMPStandaloneConstruct>(Parser<OpenMPDepobjConstruct>{})) /
12581227 endOfLine)
12591228
12601229// Directives enclosing structured-block
0 commit comments