[PATCH] D49758: [clangd] allow clients to pass in compilationDatabaseChanges in the 'workspace/didChangeConfiguration' request
Alex Lorenz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 30 11:28:36 PDT 2018
arphaman added inline comments.
================
Comment at: clangd/tool/ClangdMain.cpp:170
+static llvm::cl::opt<bool>
+ InMemoryCompileCommands("in-memory-compile-commands",
+ llvm::cl::desc("Use an in-memory compile commands"),
----------------
ilya-biryukov wrote:
> The important distinction seems to be where the compile commands come from, maybe make the name centered on the fact that compile commands are read from the protocol rather from the filesystem?
>
> E.g. using named option values:
> `--compile_args_from={lsp|filesystem}`
> Or a boolean option:
> `--compile_args_from_lsp`
>
> WDYT?
Yeah, that looks better. I added this argument in the updated patch.
https://reviews.llvm.org/D49758
More information about the cfe-commits
mailing list