Open
Description
A little diagnostic bug.
If you do clang++ -- -fsyntax-only
, Clang says:
error: no such file or directory: '-fsyntax-only'; did you mean '-fsyntax-only'?
It shouldn't do this for obvious reasons. did you mean '-some-flag'
should only trigger for parameters before the --
.
Tested on Clang 20 and trunk.