Skip to content

Commit 1f125c3

Browse files
committed
RequirementMachine: Make some methods on RuleBuilder private
1 parent b09b5c4 commit 1f125c3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/AST/RequirementMachine/RequirementLowering.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ struct RuleBuilder {
125125
void addProtocols(ArrayRef<const ProtocolDecl *> proto);
126126
void addProtocol(const ProtocolDecl *proto,
127127
bool initialComponent);
128+
void collectRulesFromReferencedProtocols();
129+
130+
private:
128131
void addAssociatedType(const AssociatedTypeDecl *type,
129132
const ProtocolDecl *proto);
130133
void addRequirement(const Requirement &req,
@@ -134,7 +137,6 @@ struct RuleBuilder {
134137
const ProtocolDecl *proto);
135138
void addTypeAlias(const ProtocolTypeAlias &alias,
136139
const ProtocolDecl *proto);
137-
void collectRulesFromReferencedProtocols();
138140
};
139141

140142
// Defined in ConcreteContraction.cpp.

0 commit comments

Comments
 (0)