[all-commits] [llvm/llvm-project] 06b5a7: [clang][driver] Support `-x` for all languages in ...
huangqinjin via All-commits
all-commits at lists.llvm.org
Thu May 23 22:39:39 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06b5a7c205cbf33d1c40efc77e0820ddd4e060fa
https://github.com/llvm/llvm-project/commit/06b5a7c205cbf33d1c40efc77e0820ddd4e060fa
Author: huangqinjin <huangqinjin at gmail.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/x-args.c
Log Message:
-----------
[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
fe082124faa8455cc9a68be5fdf10fc46a4d066c.
Closes https://github.com/llvm/llvm-project/issues/88006.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list