[clangd] Add CompileFlags.Compiler option to override argv0
authorSam McCall <sam.mccall@gmail.com>
Thu, 23 Dec 2021 00:26:49 +0000 (01:26 +0100)
committerSam McCall <sam.mccall@gmail.com>
Tue, 4 Jan 2022 10:38:27 +0000 (11:38 +0100)
commitf2b3e25f860ed029ddb9d96744a8158ba2a95b23
treeae559fc4d14bcb9096f12fec571a821646259c38
parentf4ef79306cee2b5866aff681174f16b816810c4a
[clangd] Add CompileFlags.Compiler option to override argv0

This is separate from --query-driver but can combine with it.

Fixes https://github.com/clangd/clangd/issues/642

Differential Revision: https://reviews.llvm.org/D116196
clang-tools-extra/clangd/ConfigCompile.cpp
clang-tools-extra/clangd/ConfigFragment.h
clang-tools-extra/clangd/ConfigYAML.cpp
clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp