[flang-commits] [flang] 9b35843 - [flang] Fix build failure
V Donaldson via flang-commits
flang-commits at lists.llvm.org
Tue Dec 13 15:11:04 PST 2022
Author: V Donaldson
Date: 2022-12-13T15:10:59-08:00
New Revision: 9b35843e93ba5ced8749e076432bdbde36194458
URL: https://github.com/llvm/llvm-project/commit/9b35843e93ba5ced8749e076432bdbde36194458
DIFF: https://github.com/llvm/llvm-project/commit/9b35843e93ba5ced8749e076432bdbde36194458.diff
LOG: [flang] Fix build failure
Added:
Modified:
flang/lib/Lower/PFTBuilder.cpp
Removed:
################################################################################
diff --git a/flang/lib/Lower/PFTBuilder.cpp b/flang/lib/Lower/PFTBuilder.cpp
index ef93c1d17327..e0737fdf18af 100644
--- a/flang/lib/Lower/PFTBuilder.cpp
+++ b/flang/lib/Lower/PFTBuilder.cpp
@@ -1785,7 +1785,7 @@ lower::pft::getScopeVariableList(const semantics::Scope &scope,
auto iter = map.find(&scope);
if (iter == map.end()) {
SymbolDependenceAnalysis sda(scope);
- map.emplace(&scope, std::move(sda.getVariableList()));
+ map.emplace(&scope, sda.getVariableList());
iter = map.find(&scope);
}
return iter->second;
More information about the flang-commits
mailing list