[clangd] Fix function-arg-placeholder suppression with macros.
authorSam McCall <sam.mccall@gmail.com>
Fri, 12 Nov 2021 14:03:23 +0000 (15:03 +0100)
committerSam McCall <sam.mccall@gmail.com>
Sat, 13 Nov 2021 19:50:51 +0000 (20:50 +0100)
commit8ac9d2ae5839172013ac6e9108398902da8a8969
tree60d24e4fe1375a283d452b6bd51e95b8f64b37b1
parentd96161a179c7dabad3af0bbf8e899cfe077a8a4b
[clangd] Fix function-arg-placeholder suppression with macros.

While here, unhide function-arg-placeholders flag. It's reasonable to want and
maybe we should consider making it default.

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

Differential Revision: https://reviews.llvm.org/D113765
clang-tools-extra/clangd/CodeComplete.cpp
clang-tools-extra/clangd/tool/ClangdMain.cpp
clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp