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 40ee5a0 commit b47dac6Copy full SHA for b47dac6
flang/lib/Parser/parse-tree.cpp
@@ -338,7 +338,7 @@ llvm::omp::Clause OmpClause::Id() const {
338
}
339
340
const OmpClauseList &OmpDirectiveSpecification::Clauses() const {
341
- static OmpClauseList empty{std::move(decltype(OmpClauseList::v){})};
+ static OmpClauseList empty{decltype(OmpClauseList::v){}};
342
if (auto &clauses = std::get<std::optional<OmpClauseList>>(t)) {
343
return *clauses;
344
0 commit comments