Commit bb5ea14
committed
[clang][driver] Support
After #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 #88006.-x for all languages in CL mode1 parent 298f8f7 commit bb5ea14
2 files changed
+2
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2636 | 2636 | | |
2637 | 2637 | | |
2638 | 2638 | | |
2639 | | - | |
2640 | 2639 | | |
2641 | | - | |
2642 | | - | |
2643 | | - | |
| 2640 | + | |
2644 | 2641 | | |
2645 | 2642 | | |
2646 | 2643 | | |
2647 | 2644 | | |
2648 | 2645 | | |
2649 | | - | |
2650 | | - | |
2651 | | - | |
2652 | | - | |
2653 | | - | |
2654 | | - | |
2655 | 2646 | | |
2656 | 2647 | | |
2657 | 2648 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
0 commit comments