We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bb086d commit 49ac4f5Copy full SHA for 49ac4f5
src/Generator/Driver.cs
@@ -173,7 +173,6 @@ public bool ParseLibraries()
173
using var res = ClangParser.ParseLibrary(linkerOptions);
174
if (res.Kind != ParserResultKind.Success)
175
{
176
- res.Dispose();
177
continue;
178
}
179
@@ -454,7 +453,7 @@ public static bool Run(ILibrary library)
454
453
455
driver.SaveCode(outputs);
456
if (driver.Options.IsCSharpGenerator && driver.Options.CompileCode)
457
- driver.Options.Modules.Any(m => !driver.CompileCode(m));
+ return driver.Options.Modules.Any(m => !driver.CompileCode(m));
458
459
return true;
460
0 commit comments