Closed
Description
OS: Windows
Unlike previous versions, when running clang-cl.exe version 15.x as follows from a cmd.exe prompt:
clang-cl /WX /clang:-xc /clang:-E /clang:-dM nul
It outputs the following warning:
clang-cl: error: '-x c' after last input file has no effect [-Werror,-Wunused-command-line-argument]
Expected outcome is no error, and dumping of preprocessor variables.
Among other things, this prevents clang-cl 15.x from being used by Visual Studio Code's C++ extension for Intellisense.