|
|
@ -194,6 +194,7 @@ namespace CppSharp |
|
|
|
TranslationUnitPasses.AddPass(new ResolveIncompleteDeclsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new ResolveIncompleteDeclsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CleanInvalidDeclNamesPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CleanInvalidDeclNamesPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckIgnoredDeclsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckIgnoredDeclsPass()); |
|
|
|
|
|
|
|
|
|
|
|
if (Options.IsCSharpGenerator) |
|
|
|
if (Options.IsCSharpGenerator) |
|
|
|
TranslationUnitPasses.AddPass(new GenerateInlinesCodePass()); |
|
|
|
TranslationUnitPasses.AddPass(new GenerateInlinesCodePass()); |
|
|
|
|
|
|
|
|
|
|
@ -207,20 +208,25 @@ namespace CppSharp |
|
|
|
TranslationUnitPasses.AddPass(new CheckVirtualOverrideReturnCovariance()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckVirtualOverrideReturnCovariance()); |
|
|
|
|
|
|
|
|
|
|
|
Generator.SetupPasses(); |
|
|
|
Generator.SetupPasses(); |
|
|
|
|
|
|
|
|
|
|
|
TranslationUnitPasses.AddPass(new FieldToPropertyPass()); |
|
|
|
TranslationUnitPasses.AddPass(new FieldToPropertyPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CleanInvalidDeclNamesPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CleanInvalidDeclNamesPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckIgnoredDeclsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckIgnoredDeclsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckFlagEnumsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckFlagEnumsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckDuplicatedNamesPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckDuplicatedNamesPass()); |
|
|
|
|
|
|
|
|
|
|
|
if (Options.GenerateAbstractImpls) |
|
|
|
if (Options.GenerateAbstractImpls) |
|
|
|
TranslationUnitPasses.AddPass(new GenerateAbstractImplementationsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new GenerateAbstractImplementationsPass()); |
|
|
|
|
|
|
|
|
|
|
|
if (Options.GenerateInterfacesForMultipleInheritance) |
|
|
|
if (Options.GenerateInterfacesForMultipleInheritance) |
|
|
|
{ |
|
|
|
{ |
|
|
|
TranslationUnitPasses.AddPass(new MultipleInheritancePass()); |
|
|
|
TranslationUnitPasses.AddPass(new MultipleInheritancePass()); |
|
|
|
TranslationUnitPasses.AddPass(new ParamTypeToInterfacePass()); |
|
|
|
TranslationUnitPasses.AddPass(new ParamTypeToInterfacePass()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (Options.GenerateVirtualTables) |
|
|
|
if (Options.GenerateVirtualTables) |
|
|
|
TranslationUnitPasses.AddPass(new CheckVTableComponentsPass()); |
|
|
|
TranslationUnitPasses.AddPass(new CheckVTableComponentsPass()); |
|
|
|
|
|
|
|
|
|
|
|
if (Options.GenerateProperties) |
|
|
|
if (Options.GenerateProperties) |
|
|
|
TranslationUnitPasses.AddPass(new GetterSetterToPropertyAdvancedPass()); |
|
|
|
TranslationUnitPasses.AddPass(new GetterSetterToPropertyAdvancedPass()); |
|
|
|
} |
|
|
|
} |
|
|
|