File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
flang/include/flang/Parser Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -67,17 +67,7 @@ struct DirectiveNameScope {
6767 template <typename T>
6868 static OmpDirectiveName GetOmpDirectiveName (const T &x) {
6969 if constexpr (WrapperTrait<T>) {
70- if constexpr (std::is_same_v<T, OpenMPCancelConstruct> ||
71- std::is_same_v<T, OpenMPCancellationPointConstruct> ||
72- std::is_same_v<T, OpenMPDepobjConstruct> ||
73- std::is_same_v<T, OpenMPFlushConstruct> ||
74- std::is_same_v<T, OpenMPInteropConstruct> ||
75- std::is_same_v<T, OpenMPSimpleStandaloneConstruct> ||
76- std::is_same_v<T, OpenMPGroupprivate>) {
77- return x.v .DirName ();
78- } else {
79- return GetOmpDirectiveName (x.v );
80- }
70+ return GetOmpDirectiveName (x.v );
8171 } else if constexpr (TupleTrait<T>) {
8272 if constexpr (std::is_base_of_v<OmpBlockConstruct, T>) {
8373 return std::get<OmpBeginDirective>(x.t ).DirName ();
You can’t perform that action at this time.
0 commit comments