Fully enable ExperimentalStringProcessing

Previously we would only enable by default when
`parseArgs` was called. However this wouldn't
enable it for clients such as LLDB, who provide
their own invocation. Switch the default to `true`
in the `LangOptions`, and remove some redundant
uses of `-enable-experimental-string-processing`.
The frontend flag remains, as it may be useful to
disable.

rdar://107419385
rdar://101765556
This commit is contained in:
Hamish Knight
2023-03-31 18:00:31 +01:00
parent f702272297
commit af7134b884
10 changed files with 5 additions and 37 deletions

View File

@@ -104,8 +104,6 @@ def create_parser():
help='Enable experimental concurrency model.')
parser.add_argument('--enable-experimental-distributed', action='store_true',
help='Enable experimental distributed actors.')
parser.add_argument('--enable-experimental-string-processing', action='store_true',
help='Enable experimental string processing.')
parser.add_argument('--enable-experimental-observation', action='store_true',
help='Enable experimental observation.')
parser.add_argument('-swift-version', metavar='N',
@@ -335,8 +333,6 @@ def main():
extra_args = ['-skip-imports']
if args.enable_experimental_concurrency:
extra_args = extra_args + ['-enable-experimental-concurrency']
if args.enable_experimental_string_processing:
extra_args = extra_args + ['-enable-experimental-string-processing']
if args.swift_version:
extra_args = extra_args + ['-swift-version', '%s' % args.swift_version]