fixed
This commit is contained in:
@@ -1509,8 +1509,8 @@ static void insertDeclare(const set<DIST::Array*>& usedArraysInRegions,
|
||||
if (std::count(usedAll.begin(), usedAll.end(), realArray) == 0 && added.count(realArray) == 0)
|
||||
{
|
||||
added.insert(realArray);
|
||||
//TODO: for modules
|
||||
if (realArray->GetLocation().first != DIST::l_MODULE)
|
||||
//TODO: for common
|
||||
if (realArray->GetLocation().first != DIST::l_COMMON)
|
||||
{
|
||||
auto declInfo = *realArray->GetDeclInfo().begin();
|
||||
SgStatement* declStat = SgStatement::getStatementByFileAndLine(declInfo.first, declInfo.second);
|
||||
|
||||
Reference in New Issue
Block a user