Commit b47dac6
committed
[flang][OpenMP] Remove pessimizing move introduced in 90f45a1
This unbreaks the builders that diagnose this situation:
error: moving a temporary object prevents copy elision [-Werror,-Wpess
imizing-move]
341 | static OmpClauseList empty{std::move(decltype(OmpClauseList:
:v){})};
| ^1 parent 40ee5a0 commit b47dac6
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| |||
0 commit comments