Commit Graph

8 Commits

Author SHA1 Message Date
Xi Ge
71a73a9551 test: update ABI/API baselines for stdlib 2020-02-24 12:23:24 -08:00
Andrew Trick
f07f5b3de3 Add SwiftNSMutableArray expected failures to stability-stdlib-abi.asserts.
These symbols were introduced in the following commit, but the
expected ABI test output was not updated accordingly.

commit 0967783170
Merge: c6d51a975c 1cce12f20c
Author: David Smith <david_smith@apple.com>
Date:   Thu Sep 26 15:20:45 2019

    Merge pull request #27341 from Catfish-Man/mutant-arrays

    Add an Array-based NSMutableArray subclass
2019-09-26 21:39:41 -07:00
Xi Ge
4108beb92d ABI/API checker: always print fully qualified names for types when diagnosing module difference
This change introduces a Json format change where we always print fully
qualified type names everywhere. This is beneficial for diagnosing purposes but
may not be ideal for generating migrator scripts. To resolve this conflict, the
patch also introduces a flag -migrator to opt-out fully qualified type names.

After the format change, we need to update the ABI and API baselines for the
Swift stdlib.
2019-08-27 11:42:28 -07:00
Stephen Canon
d80b1d39a3 Backout SE-0246 (#26809)
* Revert "Add availability information to the new Math function protocols (#24187)"

This reverts commit d2f695935f.

* Revert "SE-0246: Protocols and static functions (#23824)"

This reverts commit 57a4553832.

* Expected abi changes.
2019-08-23 16:41:17 -04:00
Xi Ge
4b8abdf852 swift-api-digester: use qualified type names for generic signatures
There could be cases where several modules having types of the same name.
Using fully qualified names could help us detect changing from using
one of them to another.

The commit also updates the existing ABI/API baselines to incorporate such change.
2019-08-14 09:54:55 -07:00
Xi Ge
a79b1ff73d ABI checker: report any printed name changes for type nodes
Under ABI checking mode where we don't have sugar types, any printed name
changes of type nodes worth raising an alert.

rdar://45567621
2019-08-09 17:24:45 -07:00
Xi Ge
abfc2bc10a test: regenerate baseline for stdlib ABI after recent format changes 2019-06-26 18:04:28 -07:00
Xi Ge
de1718ed1b test/abi-checker: add a stdlib ABI stability test when asserts are disabled 2019-05-30 14:58:15 -07:00