Skip to content

Commit 30c575b

Browse files
committed
Add missing trivial overload
1 parent acc37eb commit 30c575b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

flang/include/flang/Parser/openmp-utils.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ struct DirectiveNameScope {
5656
return name;
5757
}
5858

59+
static OmpDirectiveName GetOmpDirectiveName(const OmpDirectiveName &x) {
60+
return x;
61+
}
62+
5963
static OmpDirectiveName GetOmpDirectiveName(const OmpBeginLoopDirective &x) {
6064
return x.DirName();
6165
}

0 commit comments

Comments
 (0)