[clang] clangd: Show argument names for function pointer struct fields (PR #69011)

2023-10-22 Thread Nathan Ridge via cfe-commits
@@ -6133,7 +6133,17 @@ ProduceSignatureHelp(Sema &SemaRef, MutableArrayRef Candidates, // so that we can recover argument names from it. static FunctionProtoTypeLoc GetPrototypeLoc(Expr *Fn) { TypeLoc Target; - if (const auto *T = Fn->getType().getTypePtr()->getAs()) { + +

[clang] clangd: Show argument names for function pointer struct fields (PR #69011)

2023-10-22 Thread Nathan Ridge via cfe-commits
https://github.com/HighCommander4 requested changes to this pull request. Thanks for the patch! https://github.com/llvm/llvm-project/pull/69011 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-

[clang] clangd: Show argument names for function pointer struct fields (PR #69011)

2023-10-13 Thread via cfe-commits
llvmbot wrote: @llvm/pr-subscribers-clangd Author: None (Qwinci) Changes Show argument names in signature help when calling a function pointer struct field. --- Full diff: https://github.com/llvm/llvm-project/pull/69011.diff 2 Files Affected: - (modified) clang-tools-extra/clangd/unit

[clang] clangd: Show argument names for function pointer struct fields (PR #69011)

2023-10-13 Thread via cfe-commits
https://github.com/Qwinci created https://github.com/llvm/llvm-project/pull/69011 Show argument names in signature help when calling a function pointer struct field. >From 1e4b524f4514fcde8d98dbd6448477b82bd3d780 Mon Sep 17 00:00:00 2001 From: Qwinci <32550582+qwi...@users.noreply.github.com>