[clang] [clang-tools-extra] [flang] [lldb] [llvm] [clang] Move options from clangDriver into new clangOptions library (NFC) (PR #163659)

Naveen Seth Hanig via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 18:15:46 PDT 2025


naveen-seth wrote:

Hi, sorry for this may reviewers getting added for this NFC.

My next patch (see [comment](https://github.com/llvm/llvm-project/pull/152770#discussion_r2430756918)) will fully remove the dependency of `clangFrontend` on `clangDriver`. 

At that point, I will also update any `CMakeLists.txt` files that include `clangDriver` solely for options, now provided by `clangOptions`, to drop the `clangDriver` dependency. Because `clangFrontend` still depends on `clangDriver` with this patch applied, it is not straightforward to identify all cases where clangDriver should be removed from `CMakeLists.txt`. The obvious cases should be covered in this patch.

https://github.com/llvm/llvm-project/pull/163659


More information about the cfe-commits mailing list