Use "SPI group" for the name used in an @_spi attribute

This commit is contained in:
Alexis Laferrière
2020-02-19 10:10:36 -08:00
parent ac0f4444ae
commit 0e7029dfb5
14 changed files with 71 additions and 68 deletions

View File

@@ -119,7 +119,7 @@ static void printImports(raw_ostream &out,
// SPI attribute on imports
if (Opts.PrintSPIs) {
SmallVector<Identifier, 4> spis;
M->lookupImportedSPIs(importedModule, spis);
M->lookupImportedSPIGroups(importedModule, spis);
for (auto spiName : spis)
out << "@_spi(" << spiName << ") ";
}