Skip to content

Commit 6ffe446

Browse files
Rebase
1 parent 58d1ee6 commit 6ffe446

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

flang/include/flang/Parser/dump-parse-tree.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,8 +486,6 @@ class ParseTreeDumper {
486486
NODE(parser, OmpAdjustArgsClause)
487487
NODE(OmpAdjustArgsClause, OmpAdjustOp)
488488
NODE_ENUM(OmpAdjustArgsClause::OmpAdjustOp, Value)
489-
NODE(parser, OmpInteropType)
490-
NODE_ENUM(OmpInteropType, Value)
491489
NODE(parser, OmpAppendArgsClause)
492490
NODE(OmpAppendArgsClause, OmpAppendOp)
493491
NODE(parser, OmpLocator)

flang/include/flang/Parser/parse-tree.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4065,12 +4065,6 @@ struct OmpAllocateClause {
40654065
std::tuple<MODIFIERS(), OmpObjectList> t;
40664066
};
40674067

4068-
// InteropType -> target || targetsync
4069-
struct OmpInteropType {
4070-
ENUM_CLASS(Value, Target, TargetSync)
4071-
WRAPPER_CLASS_BOILERPLATE(OmpInteropType, Value);
4072-
};
4073-
40744068
struct OmpAppendArgsClause {
40754069
struct OmpAppendOp {
40764070
WRAPPER_CLASS_BOILERPLATE(OmpAppendOp, std::list<OmpInteropType>);

flang/lib/Parser/openmp-parsers.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -611,10 +611,6 @@ TYPE_PARSER(sourced(construct<OmpToClause::Modifier>(
611611
TYPE_PARSER(sourced(construct<OmpWhenClause::Modifier>( //
612612
Parser<OmpContextSelector>{})))
613613

614-
TYPE_PARSER(construct<OmpInteropType>(
615-
"TARGETSYNC" >> pure(OmpInteropType::Value::TargetSync) ||
616-
"TARGET" >> pure(OmpInteropType::Value::Target)))
617-
618614
TYPE_PARSER(construct<OmpAppendArgsClause::OmpAppendOp>(
619615
"INTEROP" >> parenthesized(nonemptyList(Parser<OmpInteropType>{}))))
620616

0 commit comments

Comments
 (0)