-
Notifications
You must be signed in to change notification settings - Fork 14.6k
Closed
Labels
clang-cl`clang-cl` driver. Don't use for other compiler parts`clang-cl` driver. Don't use for other compiler partsconfirmedVerified by a second partyVerified by a second party
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.
Metadata
Metadata
Assignees
Labels
clang-cl`clang-cl` driver. Don't use for other compiler parts`clang-cl` driver. Don't use for other compiler partsconfirmedVerified by a second partyVerified by a second party