Skip to content

Commit 9d2e9fe

Browse files
committed
more example fixing
1 parent 4dbc115 commit 9d2e9fe

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

flang/examples/FlangOmpReport/FlangOmpReportVisitor.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,9 @@ void OpenMPCounterVisitor::Post(
208208
"implicit_behavior=" + std::string{OmpDefaultmapClause::EnumToString(c)} +
209209
";";
210210
}
211-
void OpenMPCounterVisitor::Post(
212-
const OmpDefaultmapClause::VariableCategory &c) {
211+
void OpenMPCounterVisitor::Post(const OmpVariableCategory::Value &c) {
213212
clauseDetails +=
214-
"variable_category=" + std::string{OmpDefaultmapClause::EnumToString(c)} +
213+
"variable_category=" + std::string{OmpVariableCategory::EnumToString(c)} +
215214
";";
216215
}
217216
void OpenMPCounterVisitor::Post(const OmpScheduleModifierType::ModType &c) {

flang/examples/FlangOmpReport/FlangOmpReportVisitor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ struct OpenMPCounterVisitor {
6969
void Post(const OmpProcBindClause::Type &c);
7070
void Post(const OmpDefaultClause::Type &c);
7171
void Post(const OmpDefaultmapClause::ImplicitBehavior &c);
72-
void Post(const OmpDefaultmapClause::VariableCategory &c);
72+
void Post(const OmpVariableCategory::Value &c);
7373
void Post(const OmpDeviceTypeClause::Type &c);
7474
void Post(const OmpScheduleModifierType::ModType &c);
7575
void Post(const OmpLinearModifier::Value &c);

0 commit comments

Comments
 (0)