[flang-commits] [PATCH] D124682: [flang] Fix build bot problem
Peter Klausler via Phabricator via flang-commits
flang-commits at lists.llvm.org
Fri Apr 29 11:13:37 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5a7936401c0a: [flang] Fix build bot problem (authored by klausler).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124682/new/
https://reviews.llvm.org/D124682
Files:
flang/lib/Lower/ConvertVariable.cpp
Index: flang/lib/Lower/ConvertVariable.cpp
===================================================================
--- flang/lib/Lower/ConvertVariable.cpp
+++ flang/lib/Lower/ConvertVariable.cpp
@@ -1004,7 +1004,7 @@
std::vector<std::tuple<fir::GlobalOp, Fortran::semantics::MutableSymbolVector,
mlir::Location>>
delayedInitializations;
- for (const auto [common, size] : commonBlocks)
+ for (const auto &[common, size] : commonBlocks)
if (auto delayedInit = declareCommonBlock(converter, common, size))
delayedInitializations.emplace_back(std::move(*delayedInit));
for (auto &[global, cmnBlkMems, loc] : delayedInitializations)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124682.426129.patch
Type: text/x-patch
Size: 678 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220429/24406d81/attachment.bin>
More information about the flang-commits
mailing list