[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
Fri Oct 31 05:55:20 PDT 2025
================
@@ -56,7 +56,7 @@ using namespace lldb;
using namespace lldb_private;
#define OPTTABLE_STR_TABLE_CODE
-#include "clang/Driver/Options.inc"
+#include "clang/Options/Options.inc"
----------------
naveen-seth wrote:
Checking this just now, I was a little confused because the respective `CMakeLists.txt` does not seem to depend on `ClangDriverOptions` anywhere.
https://github.com/llvm/llvm-project/blob/2108c623e618265c4146c405f196953a9c157e73/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt#L37-L57
However, I found this here!
https://github.com/llvm/llvm-project/blob/2108c623e618265c4146c405f196953a9c157e73/lldb/cmake/modules/AddLLDB.cmake#L126-L131
I've verified that we don't need to link against `clangOptions` here either. Only the autogenerated header is required, so no changes to the corresponding `CMakeLists.txt` are necessary.
https://github.com/llvm/llvm-project/pull/163659
More information about the cfe-commits
mailing list