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:
Xi Ge
2023-02-09 12:44:23 -08:00
parent 3b4d03c4ed
commit ba3cc288b6
2 changed files with 1 additions and 3 deletions

View File

@@ -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;