mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[Omit needless words] Don't prefix-strip when dumping APIs.
We're going to delay NS prefix stripping for a bit. Change the API dump script accordingly, and bump the Swift name lookup table format version number so this doesn't break everyone who has already run swift-api-dump.py.
This commit is contained in:
@@ -242,7 +242,7 @@ def main():
|
||||
# Determine the set of extra arguments we'll use.
|
||||
extra_args = ['-skip-imports']
|
||||
if args.swift_3:
|
||||
extra_args = extra_args + ['-enable-omit-needless-words', '-enable-infer-default-arguments', '-enable-strip-ns-prefix']
|
||||
extra_args = extra_args + ['-enable-omit-needless-words', '-enable-infer-default-arguments']
|
||||
|
||||
# Create a .swift file we can feed into swift-ide-test
|
||||
subprocess.call(['touch', source_filename])
|
||||
|
||||
Reference in New Issue
Block a user