Sema: Remove unused -fix-string-to-substring-conversion flag

This commit is contained in:
Slava Pestov
2019-03-14 21:47:38 -04:00
parent bdd36954a5
commit 9626340d4b
8 changed files with 0 additions and 273 deletions

View File

@@ -201,12 +201,6 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
const FrontendOptions &FrontendOpts) {
using namespace options;
/// FIXME: Remove this flag when void subscripts are implemented.
/// This is used to guard preemptive testing for the fix-it.
if (Args.hasArg(OPT_fix_string_substring_conversion)) {
Opts.FixStringToSubstringConversions = true;
}
if (auto A = Args.getLastArg(OPT_swift_version)) {
auto vers = version::Version::parseVersionString(
A->getValue(), SourceLoc(), &Diags);