[clang] [clang-tools-extra] clangd: Extend reference search with constructor calls through forwarding (PR #169742)
Nathan Ridge via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 16 22:55:03 PST 2025
================
@@ -253,6 +254,23 @@ resolveForwardingParameters(const FunctionDecl *D, unsigned MaxDepth = 10);
/// reference to one (e.g. `Args&...` or `Args&&...`).
bool isExpandedFromParameterPack(const ParmVarDecl *D);
+/// Heuristic that checks if FT is forwarding a parameter pack to another
----------------
HighCommander4 wrote:
"if FT is likely to be forwarding ..."
(we basically guess based on the signature only, we don't check if it actually does forwarding)
https://github.com/llvm/llvm-project/pull/169742
More information about the cfe-commits
mailing list