Refactor: introduce SILModule::getMaximalTypeExpansionContext()

This commit is contained in:
Egor Zhdan
2025-11-10 19:00:01 +00:00
parent 51c1358778
commit 76c7be7cad
3 changed files with 7 additions and 2 deletions

View File

@@ -2372,8 +2372,7 @@ const llvm::StringRef IRGenerator::getClangDataLayoutString() {
}
TypeExpansionContext IRGenModule::getMaximalTypeExpansionContext() const {
return TypeExpansionContext::maximal(getSILModule().getAssociatedContext(),
getSILModule().isWholeModule());
return getSILModule().getMaximalTypeExpansionContext();
}
const TypeLayoutEntry