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 fe24ede commit c538c52Copy full SHA for c538c52
lib/AST/LookupVisibleDecls.cpp
@@ -790,7 +790,9 @@ class OverrideFilteringConsumer : public VisibleDeclConsumer {
790
791
// If this kind of declaration doesn't participate in overriding, there's
792
// no filtering to do here.
793
- if (!isa<AbstractFunctionDecl>(VD) && !isa<AbstractStorageDecl>(VD)) {
+ if (!isa<AbstractFunctionDecl>(VD) &&
794
+ !isa<AbstractStorageDecl>(VD) &&
795
+ !isa<AssociatedTypeDecl>(VD)) {
796
DeclsToReport.insert(FoundDeclTy(VD, Reason));
797
return;
798
}
0 commit comments