mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
swift-module-digester: keep track of whether a decl is internal.
This commit is contained in:
@@ -293,6 +293,7 @@ class SDKNodeDecl: public SDKNode {
|
||||
bool IsProtocolReq;
|
||||
bool IsOverriding;
|
||||
bool IsOpen;
|
||||
bool IsInternal;
|
||||
uint8_t ReferenceOwnership;
|
||||
StringRef GenericSig;
|
||||
|
||||
@@ -323,6 +324,7 @@ public:
|
||||
bool isOverriding() const { return IsOverriding; };
|
||||
bool isOptional() const { return hasDeclAttribute(DeclAttrKind::DAK_Optional); }
|
||||
bool isOpen() const { return IsOpen; }
|
||||
bool isInternal() const { return IsInternal; }
|
||||
StringRef getGenericSignature() const { return GenericSig; }
|
||||
StringRef getScreenInfo() const;
|
||||
virtual void jsonize(json::Output &Out) override;
|
||||
|
||||
Reference in New Issue
Block a user