mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
ABI Checker: avoid reporting module importation changes
ABI changes due to imported module changes should be reflected by other symbol changes. Reporting module import changes seems to be redundant.
This commit is contained in:
@@ -549,8 +549,7 @@ namespace {
|
||||
|
||||
static bool isMissingDeclAcceptable(const SDKNodeDecl *D) {
|
||||
// Don't complain about removing importation of SwiftOnoneSupport.
|
||||
if (D->getKind() == SDKNodeKind::DeclImport &&
|
||||
D->getName() == "SwiftOnoneSupport") {
|
||||
if (D->getKind() == SDKNodeKind::DeclImport) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user