File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -225,8 +225,8 @@ public void SetupPasses(ILibrary library)
225
225
226
226
if ( Options . IsCSharpGenerator )
227
227
{
228
- TranslationUnitPasses . AddPass ( new GenerateSymbolsPass ( ) ) ;
229
228
TranslationUnitPasses . AddPass ( new TrimSpecializationsPass ( ) ) ;
229
+ TranslationUnitPasses . AddPass ( new GenerateSymbolsPass ( ) ) ;
230
230
TranslationUnitPasses . AddPass ( new CheckIgnoredDeclsPass ( ) ) ;
231
231
}
232
232
Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ public override bool VisitDeclaration(Declaration decl)
93
93
Diagnostics . Debug ( "Decl '{0}' was ignored due to invalid access" ,
94
94
decl . Name ) ;
95
95
decl . GenerationKind = decl is Field ? GenerationKind . Internal : GenerationKind . None ;
96
- return true ;
97
96
}
98
97
99
98
return true ;
@@ -524,6 +523,10 @@ private bool IsDeclIgnored(Declaration decl)
524
523
return typeMap . IsIgnored ;
525
524
}
526
525
526
+ if ( decl . Ignore )
527
+ return true ;
528
+
529
+ decl . Visit ( this ) ;
527
530
return decl . Ignore ;
528
531
}
529
532
You can’t perform that action at this time.
0 commit comments