Unverified Commit 06b5a7c2 authored by huangqinjin's avatar huangqinjin Committed by GitHub
Browse files

[clang][driver] Support `-x` for all languages in CL mode (#89772)

After https://github.com/llvm/llvm-project/pull/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
fe082124.

Closes https://github.com/llvm/llvm-project/issues/88006.
parent 3c9641e7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment