Xi Ge
2b05e30756
swift-api-digester: don't assume super classes are always present in the module dump.
...
When we compare the APIs of entire SDKs, we can assume super classes
are always present in the API dump. However, this assumption is invalid
for framework-level API diff checking, where super classes can come from
other modules whose contents are not serialized.
rdar://33110442
2017-07-06 11:49:44 -07:00
Xi Ge
f6e6484437
swift-api-digester: Eliminate false positives introduced by moving a member declaration to super classes.
...
We shouldn't report these moved declarations as source breaking changes.
rdar://32778228
2017-06-21 19:47:07 -07:00
Xi Ge
a644ab33a0
swift-api-digester: fix recently found false positives. ( #8899 )
...
* swift-api-digester: ensure constructors are detected as removed if not moved. rdar://31694119
* swift-api-digester: types with the same printed name are considered behavior-preserving. rdar://31694085
* [test] Using tmp directory from build.
2017-04-20 18:34:52 -07:00
Xi Ge
b089bab40e
swift-api-digester: avoid reporting moved constructors. rdar://31694119 ( #8885 )
...
They don't make more sense than renamed decls.
2017-04-20 12:48:17 -07:00
Xi Ge
2db243723a
swift-api-digester: fix a crash when an SDKNode matches a null node. rdar://29312301
2016-11-17 11:28:19 -08:00
Xi Ge
adf0408cad
swift-api-digester: perform deep comparison to ensure type alias are considered equivalent. rdar://29182045
2016-11-10 12:22:06 -08:00
Xi Ge
f3a13e3989
swift-api-digester: when comparing name alias, comparing the underlying types. rdar://29182045
2016-11-09 16:59:49 -08:00
Xi Ge
725aef7ed3
swift-api-digester: reference ownership changes considered source-breaking.
2016-10-31 13:33:07 -07:00
Xi Ge
a0678c349c
swift-api-digester: allow function types to be matched with other types.
2016-10-25 22:21:42 -07:00
Xi Ge
ad3a9f276b
[swift-api-digester] Detect static decls become non-static and also the other way around.
2016-10-24 17:13:34 -07:00
Xi Ge
647f65ea21
swift-api-digester: teach the tool to output constructors' parameter type changes. ( #5351 )
2016-10-18 13:03:21 -07:00
Xi Ge
edea59722e
api-digester: teach the tool to detect new mutating/throwing functions ( #5284 )
2016-10-13 21:04:39 -07:00