File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,11 @@ public override bool VisitClassTemplateSpecializationDecl(ClassTemplateSpecializ
61
61
62
62
Declaration decl = null ;
63
63
if ( specialization . Arguments . Any ( a =>
64
- a . Type . Type ? . TryGetDeclaration ( out decl ) == true ) )
64
+ a . Type . Type ? . TryGetDeclaration ( out decl ) == true ) &&
65
+ decl . Ignore )
65
66
{
66
- decl . Visit ( this ) ;
67
- if ( decl . Ignore )
68
- {
69
- specialization . ExplicitlyIgnore ( ) ;
70
- return false ;
71
- }
67
+ specialization . ExplicitlyIgnore ( ) ;
68
+ return false ;
72
69
}
73
70
74
71
return true ;
@@ -523,10 +520,6 @@ private bool IsDeclIgnored(Declaration decl)
523
520
return typeMap . IsIgnored ;
524
521
}
525
522
526
- if ( decl . Ignore )
527
- return true ;
528
-
529
- decl . Visit ( this ) ;
530
523
return decl . Ignore ;
531
524
}
532
525
You can’t perform that action at this time.
0 commit comments