forked from OSchip/llvm-project
[OpenMP] Fix use after scope after D129608
Broken builder https://lab.llvm.org/buildbot/#/builders/5/builds/26764
This commit is contained in:
parent
b23e72a2e7
commit
f385eaf48f
|
@ -9075,7 +9075,7 @@ public:
|
|||
// DeclComponentLists for generating components info.
|
||||
auto It = DevPointersMap.find(VD);
|
||||
if (It != DevPointersMap.end())
|
||||
for (const auto MCL : It->second)
|
||||
for (const auto& MCL : It->second)
|
||||
DeclComponentLists.emplace_back(
|
||||
MCL, OMPC_MAP_to, OMPC_MAP_MODIFIER_unknown, /*IsImpicit = */ true,
|
||||
nullptr, nullptr);
|
||||
|
|
Loading…
Reference in New Issue