diff --git a/etc/config/c++.amazon.properties b/etc/config/c++.amazon.properties index e0c942c62..9fa68bdfb 100644 --- a/etc/config/c++.amazon.properties +++ b/etc/config/c++.amazon.properties @@ -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 diff --git a/lib/tooling/bronto-refactor-tool.ts b/lib/tooling/bronto-refactor-tool.ts index 7a85d1a2b..a23a6a2ce 100644 --- a/lib/tooling/bronto-refactor-tool.ts +++ b/lib/tooling/bronto-refactor-tool.ts @@ -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; } }