MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/sail.ts:44–50  ·  view source on GitHub ↗
(info: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

42 }
43
44 constructor(info: PreliminaryCompilerInfo, env: CompilationEnvironment) {
45 super(info, env);
46
47 this.outputFilebase = 'model';
48 this.cCompiler = this.compilerProps<string>('cCompiler');
49 console.assert(this.cCompiler !== undefined, 'cCompiler not set for Sail compiler');
50 }
51
52 override optionsForFilter(filters: ParseFiltersAndOutputOptions, outputFilename: any) {
53 // Target C backend (and override the default C options, -g etc.).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected