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

Method constructor

lib/compilers/hlsl.ts:36–47  ·  view source on GitHub ↗
(info: any, env: any)

Source from the content-addressed store, hash-verified

34 }
35
36 constructor(info: any, env: any) {
37 super(info, env);
38
39 this.compiler.supportsIntel = false;
40 this.spirvAsm = new SPIRVAsmParser(this.compilerProps);
41
42 this.compiler.optPipeline = {
43 arg: ['-print-before-all', '-print-after-all'],
44 moduleScopeArg: [],
45 noDiscardValueNamesArg: [],
46 };
47 }
48
49 override async generateAST(inputFilename: string, options: string[]): Promise<ResultLine[]> {
50 // These options make DXC produce an AST dump

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected