fixed private filling
This commit is contained in:
@@ -934,8 +934,14 @@ void fillNonDistrArraysAsPrivate(SgStatement *st,
|
|||||||
{
|
{
|
||||||
auto itD = declaredArrays.find(*itSet);
|
auto itD = declaredArrays.find(*itSet);
|
||||||
if (itD != declaredArrays.end())
|
if (itD != declaredArrays.end())
|
||||||
if (itD->second.first->IsNotDistribute())
|
{
|
||||||
privatesVars.insert(itD->second.first->GetShortName());
|
const auto array = itD->second.first;
|
||||||
|
if (array->IsNotDistribute())
|
||||||
|
{
|
||||||
|
auto symb = array->GetDeclSymbol(make_pair(st->fileName(), st->lineNumber()));
|
||||||
|
privatesVars.insert(symb->identifier());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#define VERSION_SPF "2459"
|
#define VERSION_SPF "2460"
|
||||||
|
|||||||
Reference in New Issue
Block a user