Skip to content

Commit f699e9d

Browse files
committed
fix examples
1 parent 43bdfcd commit f699e9d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

flang/examples/FeatureList/FeatureList.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,8 @@ struct NodeVisitor {
522522
READ_FEATURE(OmpAllocateClause::AllocateModifier::ComplexModifier)
523523
READ_FEATURE(OmpAllocateClause::AllocateModifier::Align)
524524
READ_FEATURE(OmpScheduleClause)
525-
READ_FEATURE(OmpScheduleClause::ScheduleType)
525+
READ_FEATURE(OmpScheduleClause::Kind)
526+
READ_FEATURE(OmpScheduleClause::Modifier)
526527
READ_FEATURE(OmpDeviceClause)
527528
READ_FEATURE(OmpDeviceClause::DeviceModifier)
528529
READ_FEATURE(OmpDeviceTypeClause)

flang/examples/FlangOmpReport/FlangOmpReportVisitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ struct OpenMPCounterVisitor {
7676
void Post(const OmpOrderingModifier::Value &c);
7777
void Post(const OmpTaskDependenceType::Value &c);
7878
void Post(const OmpMapClause::Type &c);
79-
void Post(const OmpScheduleClause::ScheduleType &c);
79+
void Post(const OmpScheduleClause::Kind &c);
8080
void Post(const OmpIfClause::DirectiveNameModifier &c);
8181
void Post(const OmpCancelType::Type &c);
8282
void Post(const OmpClause &c);

0 commit comments

Comments
 (0)