mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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:
@@ -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]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user