[clang-tools-extra] [clangd] Add inlay hints for forwarding direct init (PR #176635)
Tobias Ribizel via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 20 01:46:58 PST 2026
================
@@ -244,7 +245,7 @@ bool isDeeplyNested(const Decl *D, unsigned MaxDepth = 10);
/// parameters to another function via variadic template parameters. This can
/// for example be used to retrieve the constructor parameter ParmVarDecl for a
/// make_unique or emplace_back call.
-llvm::SmallVector<const ParmVarDecl *>
+std::variant<SmallVector<const ParmVarDecl *>, const CXXRecordDecl *>
----------------
upsj wrote:
the docs need to be updated to describe the new interface
https://github.com/llvm/llvm-project/pull/176635
More information about the cfe-commits
mailing list