[PATCH] D69382: [clangd] Do not insert parentheses when completing a using declaration

Ilya Biryukov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 01:37:14 PDT 2019


ilya-biryukov added inline comments.


================
Comment at: clang-tools-extra/clangd/CodeComplete.cpp:483
   bool EnableFunctionArgSnippets;
+  bool CompleteArgumentList;
 };
----------------
kadircet wrote:
> kadircet wrote:
> > maybe rather use `GenerateSnippets`? Since this doesn't generate completions for the snippets, but rather disables generation of any snippets at all.
> > 
> > also I think it makes sense to document this one, because of the field just above it.
> not just function, also template arguments.
Right... That was too specific.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69382/new/

https://reviews.llvm.org/D69382





More information about the cfe-commits mailing list