NFC: Rename performSILGeneration -> performASTLowering

And also rename the underlying request and
descriptor.

This rename is motivated by the fact that the
operation may instead perform parsing of SIL files
and/or deserialization of SIB files.
This commit is contained in:
Hamish Knight
2020-05-27 09:07:12 -07:00
parent 456775f8b4
commit bccdc0e062
13 changed files with 68 additions and 64 deletions

View File

@@ -1051,7 +1051,7 @@ ASTUnitRef ASTProducer::createASTUnit(
if (auto SF = CompIns.getPrimarySourceFile()) {
SILOptions SILOpts = Invocation.getSILOptions();
auto &TC = CompIns.getSILTypes();
std::unique_ptr<SILModule> SILMod = performSILGeneration(*SF, TC, SILOpts);
std::unique_ptr<SILModule> SILMod = performASTLowering(*SF, TC, SILOpts);
runSILDiagnosticPasses(*SILMod);
}
}