File tree Expand file tree Collapse file tree 5 files changed +0
-29
lines changed Expand file tree Collapse file tree 5 files changed +0
-29
lines changed Original file line number Diff line number Diff line change @@ -554,7 +554,6 @@ struct NodeVisitor {
554554 READ_FEATURE (OpenMPDeclareSimdConstruct)
555555 READ_FEATURE (OpenMPDeclareTargetConstruct)
556556 READ_FEATURE (OmpMemoryOrderType)
557- READ_FEATURE (OmpMemoryOrderClause)
558557 READ_FEATURE (OmpAtomicDefaultMemOrderClause)
559558 READ_FEATURE (OpenMPFlushConstruct)
560559 READ_FEATURE (OpenMPLoopConstruct)
Original file line number Diff line number Diff line change @@ -721,7 +721,6 @@ class ParseTreeDumper {
721721 NODE (parser, OpenMPDeclareTargetConstruct)
722722 NODE (parser, OpenMPDeclareMapperConstruct)
723723 NODE_ENUM (common, OmpMemoryOrderType)
724- NODE (parser, OmpMemoryOrderClause)
725724 NODE (parser, OmpAtomicDefaultMemOrderClause)
726725 NODE (parser, OpenMPDepobjConstruct)
727726 NODE (parser, OpenMPUtilityConstruct)
Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ struct OpenMPConstruct;
270270struct OpenMPLoopConstruct ;
271271struct OpenMPDeclarativeConstruct ;
272272struct OmpEndLoopDirective ;
273- struct OmpMemoryOrderClause ;
274273struct CUFKernelDoConstruct ;
275274
276275// Cooked character stream locations
@@ -5016,17 +5015,6 @@ struct OpenMPAllocatorsConstruct : public OmpBlockConstruct {
50165015 OpenMPAllocatorsConstruct, OmpBlockConstruct);
50175016};
50185017
5019- // 2.17.7 Atomic construct/2.17.8 Flush construct [OpenMP 5.0]
5020- // memory-order-clause -> acq_rel
5021- // acquire
5022- // release
5023- // relaxed
5024- // seq_cst
5025- struct OmpMemoryOrderClause {
5026- WRAPPER_CLASS_BOILERPLATE (OmpMemoryOrderClause, OmpClause);
5027- CharBlock source;
5028- };
5029-
50305018struct OpenMPAtomicConstruct : public OmpBlockConstruct {
50315019 llvm::omp::Clause GetKind () const ;
50325020 bool IsCapture () const ;
Original file line number Diff line number Diff line change @@ -1619,20 +1619,6 @@ bool OmpAtomicConstructParser::recursing_{false};
16191619TYPE_PARSER(sourced( //
16201620 construct<OpenMPAtomicConstruct>(OmpAtomicConstructParser{})))
16211621
1622- // 2.17.7 Atomic construct/2.17.8 Flush construct [OpenMP 5.0]
1623- // memory-order-clause ->
1624- // acq_rel
1625- // acquire
1626- // relaxed
1627- // release
1628- // seq_cst
1629- TYPE_PARSER(sourced(construct<OmpMemoryOrderClause>(
1630- sourced("ACQ_REL" >> construct<OmpClause>(construct<OmpClause::AcqRel>()) ||
1631- "ACQUIRE" >> construct<OmpClause>(construct<OmpClause::Acquire>()) ||
1632- "RELAXED" >> construct<OmpClause>(construct<OmpClause::Relaxed>()) ||
1633- "RELEASE" >> construct<OmpClause>(construct<OmpClause::Release>()) ||
1634- "SEQ_CST" >> construct<OmpClause>(construct<OmpClause::SeqCst>())))))
1635-
16361622static bool IsSimpleStandalone(const OmpDirectiveName &name) {
16371623 switch (name.v) {
16381624 case llvm::omp::Directive::OMPD_barrier:
Original file line number Diff line number Diff line change @@ -2801,7 +2801,6 @@ class UnparseVisitor {
28012801 EndOpenMP ();
28022802 }
28032803 void Unparse (const OmpFailClause &x) { Walk (x.v ); }
2804- void Unparse (const OmpMemoryOrderClause &x) { Walk (x.v ); }
28052804 void Unparse (const OmpMetadirectiveDirective &x) {
28062805 BeginOpenMP ();
28072806 Word (" !$OMP METADIRECTIVE " );
You can’t perform that action at this time.
0 commit comments