MCPcopy
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

test/demangler-tests.ts:46–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44
45class DummyCompiler extends BaseCompiler {
46 constructor() {
47 const env = {
48 ceProps: properties.fakeProps({}),
49 getCompilerPropsForLanguage: () => {
50 return (prop, def) => def;
51 },
52 } as unknown as CompilationEnvironment;
53
54 // using c++ as the compiler needs at least one language
55 const compiler = makeFakeCompilerInfo({lang: 'c++', exe: 'gcc'});
56
57 super(compiler, env);
58 }
59 override exec(command, args, options) {
60 return exec.execute(command, args, options);
61 }

Callers

nothing calls this directly

Calls 1

makeFakeCompilerInfoFunction · 0.70

Tested by

no test coverage detected