mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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
This commit is contained in:
@@ -927,7 +927,7 @@ void swift::ide::api::SDKNodeType::diagnose(SDKNode *Right) {
|
||||
}
|
||||
|
||||
void swift::ide::api::SDKNodeTypeFunc::diagnose(SDKNode *Right) {
|
||||
SDKNode::diagnose(Right);
|
||||
SDKNodeType::diagnose(Right);
|
||||
auto *RT = dyn_cast<SDKNodeTypeFunc>(Right);
|
||||
if (!RT || !shouldDiagnoseType(this))
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user