Skip to content

Commit 760ef44

Browse files
committed
swift-api-digester: use elaborated typename
cl is unable to disambiguate between `swift::KnownProtocolKind` and `swift::ide::api::KnownProtocolKind`. Use the elaborated typename to disambiguate the type. This allows us to build `swift-api-digester` with cl again.
1 parent 1a949ea commit 760ef44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/swift-api-digester/ModuleAnalyzerNodes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ SDKNodeType *SDKNodeDeclType::getRawValueType() const {
477477
return nullptr;
478478
}
479479

480-
bool SDKNodeDeclType::isConformingTo(KnownProtocolKind Kind) const {
480+
bool SDKNodeDeclType::isConformingTo(swift::ide::api::KnownProtocolKind Kind) const {
481481
switch (Kind) {
482482
#define KNOWN_PROTOCOL(NAME) \
483483
case KnownProtocolKind::NAME: \

0 commit comments

Comments
 (0)