MCPcopy Index your code
hub / github.com/compiler-explorer/compiler-explorer / checkOptions

Method checkOptions

lib/base-compiler.ts:3913–3917  ·  view source on GitHub ↗
(options: string[])

Source from the content-addressed store, hash-verified

3911 }
3912
3913 checkOptions(options: string[]) {
3914 const error = this.env.findBadOptions(options);
3915 if (error.length > 0) return `Bad options: ${error.join(', ')}`;
3916 return null;
3917 }
3918
3919 protected getArgumentParserClass(): typeof BaseParser {
3920 const exe = this.compiler.exe.toLowerCase();

Callers 1

compileMethod · 0.95

Calls 1

findBadOptionsMethod · 0.80

Tested by

no test coverage detected