[SR-10972] swift-api-digester: avoid diagnosing the removal of __derived_enum_equals and __derived_struct_equals

These functions are compiler implementation details and diagnosing
them is redundant and may be confusing to framework authors.
This commit is contained in:
Xi Ge
2019-06-20 16:08:06 -07:00
parent f4f2e2cd59
commit 2160f65283
6 changed files with 36 additions and 0 deletions

View File

@@ -164,6 +164,10 @@ class SDKContext {
std::vector<BreakingAttributeInfo> BreakingAttrs;
public:
// Define the set of known identifiers.
#define IDENTIFIER_WITH_NAME(Name, IdStr) StringRef Id_##Name = IdStr;
#include "swift/AST/KnownIdentifiers.def"
SDKContext(CheckerOptions Options);
llvm::BumpPtrAllocator &allocator() {
return Allocator;