Skip to content

MSVC/clang-cl: Fix `--` in command line

mbitsnbites requested to merge github/fork/encounter/clang-cl-fix into master

Created by: encounter

When invoking clang-cl, my command line looked like:

clang-cl [args] -- ../source.cpp

Before, buildcache would append extra flags to the end, which are interpreted as source files due to the --.

This PR reorders the arguments to put -- ../source.cpp at the end of the argument list.

Merge request reports