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 c41be6e commit 6fd25fdCopy full SHA for 6fd25fd
lib/Sema/LookupVisibleDecls.cpp
@@ -785,7 +785,9 @@ class OverrideFilteringConsumer : public VisibleDeclConsumer {
785
786
// If this kind of declaration doesn't participate in overriding, there's
787
// no filtering to do here.
788
- if (!isa<AbstractFunctionDecl>(VD) && !isa<AbstractStorageDecl>(VD)) {
+ if (!isa<AbstractFunctionDecl>(VD) &&
789
+ !isa<AbstractStorageDecl>(VD) &&
790
+ !isa<AssociatedTypeDecl>(VD)) {
791
DeclsToReport.insert(FoundDeclTy(VD, Reason));
792
return;
793
}
0 commit comments