[clang] [clang-tools-extra] [clangd] CodeCompletion surface param names if possible (PR #206716)

Nathan Ridge via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 2 21:58:52 PDT 2026


================
@@ -698,6 +698,24 @@ TEST(CompletionTest, PrivateMemberDefinition) {
                              snippetSuffix("(int a, int b)"))));
 }
 
+TEST(CompletionTest, DeclParamName) {
+  // This is 1/2 regression tests to make sure signatures
----------------
HighCommander4 wrote:

Might as well add "see IndexActionTest.DeclParamName for the other test", and vice versa.

https://github.com/llvm/llvm-project/pull/206716


More information about the cfe-commits mailing list