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

Function removeToolchainArg

lib/toolchain-utils.ts:55–59  ·  view source on GitHub ↗
(compilerOptions: string[])

Source from the content-addressed store, hash-verified

53}
54
55export function removeToolchainArg(compilerOptions: string[]): string[] {
56 return compilerOptions.filter(
57 elem => !elem.includes(clang_style_toolchain_flag) && !elem.includes(icc_style_toolchain_flag),
58 );
59}
60
61export function removeSysrootArg(compilerOptions: string[]): string[] {
62 return compilerOptions.filter(elem => !elem.includes(clang_style_sysroot_flag));

Callers 2

createCmakeExecParamsMethod · 0.85
tool-tests.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected