[clang-tools-extra] [clangd] Add inlay hints for forwarding direct init (PR #176635)
Mythreya Kuricheti via cfe-commits
cfe-commits at lists.llvm.org
Sun Feb 8 13:42:40 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 *>
----------------
MythreyaK wrote:
Took a stab at it, happy to reword it if it can be improved.
https://github.com/llvm/llvm-project/pull/176635
More information about the cfe-commits
mailing list