summaryrefslogtreecommitdiff
path: root/utils/bazel
diff options
context:
space:
mode:
authorNaveen Seth Hanig <naveen.hanig@outlook.com>2025-11-10 17:19:03 +0100
committerGitHub <noreply@github.com>2025-11-10 17:19:03 +0100
commit9a783b63e647d95e001f55464a9bc7fa0c3929c3 (patch)
tree091b9a5d06d4402fa5cdcc75b33f41dd594548dc /utils/bazel
parent38cade7cc6e599bb6bc8f0af98eb91cba9ceb5df (diff)
[clang] Refactor option-related code from clangDriver into new clangOptions library (#163659)
This change moves option-related code from clangDriver into a new clangOptions library. This refactoring is part of a broader effort to support driver-managed builds for compilations using C++ named modules and/or Clang modules. It is required for linking the dependency scanning tooling against the driver without introducing cyclic dependencies, which would otherwise cause build failures when dynamic linking is enabled. In particular, clangFrontend must no longer depend on clangDriver for this to be possible. This PR is motivated by the following review comment: https://github.com/llvm/llvm-project/pull/152770#discussion_r2430756918
Diffstat (limited to 'utils/bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/clang/BUILD.bazel4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
index 4d279bffd372..36b71dd49ef1 100644
--- a/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/clang/BUILD.bazel
@@ -1501,9 +1501,9 @@ cc_library(
gentbl_cc_library(
name = "driver_options_inc_gen",
- tbl_outs = {"include/clang/Driver/Options.inc": ["-gen-opt-parser-defs"]},
+ tbl_outs = {"include/clang/Options/Options.inc": ["-gen-opt-parser-defs"]},
tblgen = "//llvm:llvm-tblgen",
- td_file = "include/clang/Driver/Options.td",
+ td_file = "include/clang/Options/Options.td",
deps = ["//llvm:OptParserTdFiles"],
)