mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Frontend] Use experimental feature for layout prespecializations (#61451)
This commit is contained in:
@@ -1489,6 +1489,11 @@ void InterfaceSubContextDelegateImpl::inheritOptionsForBuildingInterface(
|
||||
std::string pair = (llvm::Twine(lhs) + "=" + rhs).str();
|
||||
GenericArgs.push_back(ArgSaver.save(pair));
|
||||
});
|
||||
|
||||
if (LangOpts.hasFeature(Feature::LayoutPrespecialization)) {
|
||||
genericSubInvocation.getLangOptions().Features.insert(
|
||||
Feature::LayoutPrespecialization);
|
||||
}
|
||||
}
|
||||
|
||||
bool InterfaceSubContextDelegateImpl::extractSwiftInterfaceVersionAndArgs(
|
||||
|
||||
Reference in New Issue
Block a user