We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c17f9b commit 68caa8bCopy full SHA for 68caa8b
flang/lib/Parser/openmp-utils.cpp
@@ -123,7 +123,7 @@ const OmpObjectList *GetOmpObjectList(const OmpClause &clause) {
123
const OmpObjectList *GetOmpObjectList(const OmpClause::Depend &clause) {
124
return common::visit(
125
common::visitors{
126
- [](const OmpDoacross &) { return nullptr; },
+ [](const OmpDoacross &) -> const OmpObjectList * { return nullptr; },
127
[](const OmpDependClause::TaskDep &x) { return GetOmpObjectList(x); },
128
},
129
clause.v.u);
0 commit comments