MCPcopy Create free account
hub / github.com/REditorSupport/vscode-R / extractCompilerStd

Function extractCompilerStd

src/cppProperties.ts:162–167  ·  view source on GitHub ↗
(compileOutput: string)

Source from the content-addressed store, hash-verified

160}
161
162function extractCompilerStd(compileOutput: string): string | undefined {
163 const rxStd = /-std=(\S+)/;
164
165 const stdMatch = compileOutput.match(rxStd);
166 return stdMatch?.[1];
167}
168
169function extractCompilerCall(compileOutput: string): string | undefined {
170 const rxComp = /("[^"]+"|[\S]+)/;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected