[PATCH] D65625: [clangd] Allow the client to specify multiple compilation databases in the 'initialize' request

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 2 01:53:57 PDT 2019


ilya-biryukov added a subscriber: sammccall.
ilya-biryukov added a comment.

Could this be handled outside clangd? If not, what are the complications?

We currently have a capability to specify a path to a single `compile_commands.json`.
I would expect clients using this extension (Theia?) also handle generation of `compile_commands.json`. If that's the case, could they merge multiple `compile_commands.json` files into one and ask clangd to load it using APIs we have today?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65625/new/

https://reviews.llvm.org/D65625





More information about the cfe-commits mailing list