mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
use new noncopyable types infrastructure
The infrastructure underpinning the new feature NoncopyableGenerics is mature enough to be used.
This commit is contained in:
@@ -3362,7 +3362,6 @@ CompilerInvocation::loadFromSerializedAST(StringRef data) {
|
||||
serialization::validateSerializedAST(
|
||||
data,
|
||||
getSILOptions().EnableOSSAModules,
|
||||
LangOpts.hasFeature(Feature::NoncopyableGenerics),
|
||||
LangOpts.SDKName,
|
||||
&extendedInfo);
|
||||
|
||||
@@ -3401,7 +3400,6 @@ CompilerInvocation::setUpInputForSILTool(
|
||||
auto result = serialization::validateSerializedAST(
|
||||
fileBufOrErr.get()->getBuffer(),
|
||||
getSILOptions().EnableOSSAModules,
|
||||
LangOpts.hasFeature(Feature::NoncopyableGenerics),
|
||||
LangOpts.SDKName,
|
||||
&extendedInfo);
|
||||
bool hasSerializedAST = result.status == serialization::Status::Valid;
|
||||
|
||||
Reference in New Issue
Block a user