================
@@ -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
+            // command's "directory", not our CWD, but ToolExecutor doesn't
+            // expose "directory" here, so make_absolute can resolve it wrong
+            // and miss the .clangd file. See
+            // indexer-clangd-config-relative-path.test.
----------------
Fil-Den wrote:

done

https://github.com/llvm/llvm-project/pull/214951
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to