We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd6a03 commit 03373a1Copy full SHA for 03373a1
lib/AST/Type.cpp
@@ -2621,7 +2621,7 @@ void ArchetypeType::populateNestedTypes() const {
2621
ProtocolType::visitAllProtocols(getConformsTo(),
2622
[&](ProtocolDecl *proto) -> bool {
2623
// Objective-C protocols don't have type members.
2624
- if (proto->hasClangNode()) return false;
+ if (proto->isObjC()) return false;
2625
2626
for (auto member : proto->getMembers()) {
2627
if (auto assocType = dyn_cast<AssociatedTypeDecl>(member)) {
0 commit comments