Merge branch 'apple-master' into simplify-module-digester

This commit is contained in:
Xi Ge
2018-09-26 15:21:51 -07:00
28 changed files with 486 additions and 785 deletions

View File

@@ -1122,6 +1122,10 @@ SwiftDeclCollector::shouldIgnore(Decl *D, const Decl* Parent) {
return true;
if (VD->getBaseName().empty())
return true;
// Exclude type alias decls because they should have no impact on ABI.
if (isa<TypeAliasDecl>(VD) && Ctx.checkingABI())
return true;
switch (VD->getFormalAccess()) {
case AccessLevel::Internal:
case AccessLevel::Private: