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 {
554
554
READ_FEATURE (OpenMPDeclareSimdConstruct)
555
555
READ_FEATURE (OpenMPDeclareTargetConstruct)
556
556
READ_FEATURE (OmpMemoryOrderType)
557
- READ_FEATURE (OmpMemoryOrderClause)
558
557
READ_FEATURE (OmpAtomicDefaultMemOrderClause)
559
558
READ_FEATURE (OpenMPFlushConstruct)
560
559
READ_FEATURE (OpenMPLoopConstruct)
Original file line number Diff line number Diff line change @@ -721,7 +721,6 @@ class ParseTreeDumper {
721
721
NODE (parser, OpenMPDeclareTargetConstruct)
722
722
NODE (parser, OpenMPDeclareMapperConstruct)
723
723
NODE_ENUM (common, OmpMemoryOrderType)
724
- NODE (parser, OmpMemoryOrderClause)
725
724
NODE (parser, OmpAtomicDefaultMemOrderClause)
726
725
NODE (parser, OpenMPDepobjConstruct)
727
726
NODE (parser, OpenMPUtilityConstruct)
Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ struct OpenMPConstruct;
270
270
struct OpenMPLoopConstruct ;
271
271
struct OpenMPDeclarativeConstruct ;
272
272
struct OmpEndLoopDirective ;
273
- struct OmpMemoryOrderClause ;
274
273
struct CUFKernelDoConstruct ;
275
274
276
275
// Cooked character stream locations
@@ -5016,17 +5015,6 @@ struct OpenMPAllocatorsConstruct : public OmpBlockConstruct {
5016
5015
OpenMPAllocatorsConstruct, OmpBlockConstruct);
5017
5016
};
5018
5017
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
-
5030
5018
struct OpenMPAtomicConstruct : public OmpBlockConstruct {
5031
5019
llvm::omp::Clause GetKind () const ;
5032
5020
bool IsCapture () const ;
Original file line number Diff line number Diff line change @@ -1619,20 +1619,6 @@ bool OmpAtomicConstructParser::recursing_{false};
1619
1619
TYPE_PARSER(sourced( //
1620
1620
construct<OpenMPAtomicConstruct>(OmpAtomicConstructParser{})))
1621
1621
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
-
1636
1622
static bool IsSimpleStandalone(const OmpDirectiveName &name) {
1637
1623
switch (name.v) {
1638
1624
case llvm::omp::Directive::OMPD_barrier:
Original file line number Diff line number Diff line change @@ -2801,7 +2801,6 @@ class UnparseVisitor {
2801
2801
EndOpenMP ();
2802
2802
}
2803
2803
void Unparse (const OmpFailClause &x) { Walk (x.v ); }
2804
- void Unparse (const OmpMemoryOrderClause &x) { Walk (x.v ); }
2805
2804
void Unparse (const OmpMetadirectiveDirective &x) {
2806
2805
BeginOpenMP ();
2807
2806
Word (" !$OMP METADIRECTIVE " );
You can’t perform that action at this time.
0 commit comments