[clangd] Move --check options into Check.cpp. Add --check-completion.
authorSam McCall <sam.mccall@gmail.com>
Mon, 21 Nov 2022 15:37:32 +0000 (16:37 +0100)
committerSam McCall <sam.mccall@gmail.com>
Mon, 21 Nov 2022 15:39:27 +0000 (16:39 +0100)
commit5696f2dfce5f23967a047f68897a7ff2e3d8e7d1
treecdc7cb056facb820d87e9a76ec97c28b7ccaf7de
parent8cce9d7fb324e14405b6eb09186e9d96808fc6c1
[clangd] Move --check options into Check.cpp. Add --check-completion.

This is less plumbing and clutter in ClangdMain.cpp.
Having --check-lines imply completion was just about minimizing plumbing
I think, so make that explicit.
clang-tools-extra/clangd/tool/Check.cpp
clang-tools-extra/clangd/tool/ClangdMain.cpp