Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][driver] Support
-x
for all languages in CL mode
After llvm#68921, clang-cl gained option `-x` but only for CUDA/HIP. This commit simply removes the restriction on parameters to `-x`. Especially, it is able to use `-x c++-module` and `-x c++-system-header` to build C++20 modules and header units with clang-cl. This effectively reverts commit fe08212. Closes llvm#88006.
- Loading branch information