================
@@ -1110,7 +1110,7 @@ const Symbol *SymbolCollector::addDeclaration(const 
NamedDecl &ND, SymbolID ID,
   const auto *CCS = SymbolCompletion.CreateCodeCompletionString(
       *ASTCtx, *PP, CodeCompletionContext::CCC_Symbol, *CompletionAllocator,
       *CompletionTUInfo,
-      /*IncludeBriefComments*/ false);
+      /*IncludeBriefComments*/ false, /*SuppressFuncParamType=*/false);
----------------
HighCommander4 wrote:

This is the codepath that computes the "signature" and "snippet suffix" that 
are stored in the index, and will be used for completion items coming from the 
index.

We should respect `NamePlaceholders` here too (but here too we should build a 
separate CCS for the signature so it retains parameter types).

https://github.com/llvm/llvm-project/pull/200103
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to