[clang-tools-extra] [clangd] Make clangd-indexer respect .clangd configuration files (PR #214951)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 24 16:50:29 PDT 2026


================
@@ -162,8 +221,23 @@ int main(int argc, const char **argv) {
   auto Err = Executor->get()->execute(
       std::make_unique<clang::clangd::IndexActionFactory>(Data),
       clang::tooling::ArgumentsAdjuster(
-          [Mangler = std::move(Mangler)](const std::vector<std::string> &Args,
-                                         llvm::StringRef File) {
+          [Mangler = std::move(Mangler),
+           ContextProvider = std::move(ContextProvider)](
+              const std::vector<std::string> &Args, llvm::StringRef File) {
+            // Issue: If File is relative, it's relative to the compile
----------------
HighCommander4 wrote:

nit: use "FIXME" in place of "Issue", it's more conventional / greppable

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


More information about the cfe-commits mailing list