Skip to content

Commit 9c64e44

Browse files
committed
Always generate formatted code.
1 parent 03f7f62 commit 9c64e44

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Generator/Generators/CodeGenerator.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,6 @@ protected CodeGenerator(BindingContext context, IEnumerable<TranslationUnit> uni
6161

6262
public abstract void Process();
6363

64-
public override string Generate()
65-
{
66-
if (Options.IsCSharpGenerator && Options.CompileCode && !Options.GenerateDebugOutput)
67-
return base.GenerateUnformatted();
68-
69-
return base.Generate();
70-
}
71-
7264
public virtual void GenerateFilePreamble(CommentKind kind, string generatorName = "CppSharp")
7365
{
7466
var lines = new List<string>

0 commit comments

Comments
 (0)