[PATCH] D50835: [clangd] Add parantheses while auto-completing functions.

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 06:08:18 PDT 2018


ioeric added inline comments.


================
Comment at: clangd/CodeComplete.h:85
+
+  /// Enables cursor to be moved around according to completions needs even when
+  /// snippets are disabled. For example selecting a function with parameters as
----------------
IIRC, the goal of this patch is to allow disabling snippet templates for function parameters while still allow appending `()` or `($0)` to function candidates. If that's still the case, I think what we want is probably an option like `DisableSnippetTemplateForFunctionArgs`? 


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50835





More information about the cfe-commits mailing list