[clangd] Support dexp -c "some command"
authorSam McCall <sam.mccall@gmail.com>
Tue, 7 Apr 2020 13:26:42 +0000 (15:26 +0200)
committerSam McCall <sam.mccall@gmail.com>
Wed, 8 Apr 2020 12:02:49 +0000 (14:02 +0200)
commit49268a678c2f0233f71363b0988d4b159496b036
tree141bde122fb280d23628fdf390c313f31a7b945f
parent3db215089f4838eda5742f620d3dc2f4208ad99b
[clangd] Support dexp -c "some command"

Summary:
It runs one command and exits.
See D77385 for motivation.

Reviewers: mnauw, kbobyrev

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D77645
clang-tools-extra/clangd/index/dex/dexp/Dexp.cpp