Attempt at getting bronto working @asoffer

This commit is contained in:
Matt Godbolt
2025-04-21 10:34:31 -05:00
parent 793f703e2a
commit 4b2f827b0a
2 changed files with 4 additions and 4 deletions

View File

@@ -481,6 +481,7 @@ group.clangx86trunk.unwiseOptions=-march=native
group.clangx86trunk.supportsPVS-Studio=true
group.clangx86trunk.supportsSonar=true
group.clangx86trunk.supportsLlvmCov=true
group.clangx86trunk.supportsBrontoRefactor=true
group.clangx86trunk.ldPath=${exePath}/../lib|${exePath}/../lib/x86_64-unknown-linux-gnu
group.clangx86trunk.compilerCategories=clang
group.clangx86trunk.demangler=/opt/compiler-explorer/clang-trunk/bin/llvm-cxxfilt
@@ -6056,7 +6057,7 @@ tools.PVS-Studio.class=pvs-studio-tool
tools.PVS-Studio.stdinHint=disabled
tools.PVS-Studio.includeKey=supportsPVS-Studio
tools.bronto-refactor.exe=/opt/compiler-explorer/bronto-refactor/bin/latest
tools.bronto-refactor.exe=/opt/compiler-explorer/brontosource/bronto-refactor-ubuntu-22.04-x86-64/bronto-refactor
tools.bronto-refactor.name=bronto-refactor
tools.bronto-refactor.type=independent
tools.bronto-refactor.class=bronto-refactor-tool

View File

@@ -62,9 +62,8 @@ export class BrontoRefactorTool extends BaseTool {
const manualCompileFlags = options.filter(option => option !== sourcefile);
compileFlags = compileFlags.concat(manualCompileFlags);
const result = await super.runTool(compilationInfo, sourcefile, compileFlags);
const result = await super.runTool(compilationInfo, sourcefile, compileFlags, stdin, supportedLibraries);
result.sourcechanged = false;
return await super.runTool(compilationInfo, sourcefile, compileFlags, stdin);
return result;
}
}