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

Method orderArguments

lib/compilers/c2rust.ts:85–105  ·  view source on GitHub ↗
(
        options: string[],
        inputFilename: string,
        libIncludes: string[],
        libOptions: string[],
        libPaths: string[],
        libLinks: string[],
        userOptions: string[],
        staticLibLinks: string[],
    )

Source from the content-addressed store, hash-verified

83 }
84
85 override orderArguments(
86 options: string[],
87 inputFilename: string,
88 libIncludes: string[],
89 libOptions: string[],
90 libPaths: string[],
91 libLinks: string[],
92 userOptions: string[],
93 staticLibLinks: string[],
94 ): string[] {
95 return options.concat(
96 [this.filename(inputFilename)],
97 userOptions,
98 userOptions.includes('--') ? [] : ['--'],
99 libIncludes,
100 libOptions,
101 libPaths,
102 libLinks,
103 staticLibLinks,
104 );
105 }
106}

Callers

nothing calls this directly

Calls 1

filenameMethod · 0.45

Tested by

no test coverage detected