Revert "Merge pull request #34848 from aschwaighofer/make_prespecialization_experimental"

This reverts commit 3aec862e62, reversing
changes made to 158427bd5b.
This commit is contained in:
Arnold Schwaighofer
2021-02-12 10:12:01 -08:00
parent 36b03a499f
commit 084db0d38f
25 changed files with 98 additions and 158 deletions

View File

@@ -95,11 +95,6 @@ Action(llvm::cl::desc("Action (required):"),
"of the EOF token, and dump the buffer from the start of the"
"file to the EOF token")));
static llvm::cl::opt<bool> EnableExperimentalPrespecialization(
"enable-experimental-prespecialization",
llvm::cl::desc("Enable experimental prespecialization"),
llvm::cl::init(false));
static llvm::cl::opt<std::string>
InputSourceFilename("input-source-filename",
llvm::cl::desc("Path to the input .swift file"));
@@ -592,8 +587,6 @@ int parseFile(
Invocation.getLangOptions().ParseForSyntaxTreeOnly = true;
Invocation.getLangOptions().VerifySyntaxTree = options::VerifySyntaxTree;
Invocation.getLangOptions().DisablePoundIfEvaluation = true;
Invocation.getLangOptions().EnableExperimentalPrespecialization =
options::EnableExperimentalPrespecialization;
Invocation.getFrontendOptions().InputsAndOutputs.addInputFile(InputFileName);