Skip to content

Commit 7c5f975

Browse files
committed
fix example
1 parent 2ab3e29 commit 7c5f975

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

flang/examples/FeatureList/FeatureList.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,9 @@ struct NodeVisitor {
475475
READ_FEATURE(OmpDoacross::Source)
476476
READ_FEATURE(OmpDoacrossClause)
477477
READ_FEATURE(OmpDependenceType)
478-
READ_FEATURE(OmpDependenceType::Type)
478+
READ_FEATURE(OmpDependenceType::Value)
479479
READ_FEATURE(OmpTaskDependenceType)
480-
READ_FEATURE(OmpTaskDependenceType::Type)
480+
READ_FEATURE(OmpTaskDependenceType::Value)
481481
READ_FEATURE(OmpIteration)
482482
READ_FEATURE(OmpIterationOffset)
483483
READ_FEATURE(OmpIterationVector)

flang/examples/FlangOmpReport/FlangOmpReportVisitor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,11 +218,11 @@ void OpenMPCounterVisitor::Post(const OmpScheduleModifierType::ModType &c) {
218218
clauseDetails +=
219219
"modifier=" + std::string{OmpScheduleModifierType::EnumToString(c)} + ";";
220220
}
221-
void OpenMPCounterVisitor::Post(const OmpLinearModifier::Type &c) {
221+
void OpenMPCounterVisitor::Post(const OmpLinearModifier::Value &c) {
222222
clauseDetails +=
223223
"modifier=" + std::string{OmpLinearModifier::EnumToString(c)} + ";";
224224
}
225-
void OpenMPCounterVisitor::Post(const OmpTaskDependenceType::Type &c) {
225+
void OpenMPCounterVisitor::Post(const OmpTaskDependenceType::Value &c) {
226226
clauseDetails +=
227227
"type=" + std::string{OmpTaskDependenceType::EnumToString(c)} + ";";
228228
}

flang/examples/FlangOmpReport/FlangOmpReportVisitor.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ struct OpenMPCounterVisitor {
7272
void Post(const OmpDefaultmapClause::VariableCategory &c);
7373
void Post(const OmpDeviceTypeClause::Type &c);
7474
void Post(const OmpScheduleModifierType::ModType &c);
75-
void Post(const OmpLinearModifier::Type &c);
76-
void Post(const OmpTaskDependenceType::Type &c);
75+
void Post(const OmpLinearModifier::Value &c);
76+
void Post(const OmpTaskDependenceType::Value &c);
7777
void Post(const OmpMapClause::Type &c);
7878
void Post(const OmpScheduleClause::ScheduleType &c);
7979
void Post(const OmpIfClause::DirectiveNameModifier &c);

0 commit comments

Comments
 (0)