Skip to content

Commit

Permalink
Improve template parameter name
Browse files Browse the repository at this point in the history
Co-authored-by: Jon Ross-Perkins <[email protected]>
  • Loading branch information
zygoloid and jonmeow committed Oct 8, 2024
1 parent 78ce09f commit e82a0aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/check/deduce.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ class DeductionWorklist {

// Adds a list of (param, arg) deductions. These are added in reverse order so
// they are popped in forward order.
template <typename InnerId>
auto AddAll(llvm::ArrayRef<InnerId> params, llvm::ArrayRef<InnerId> args,
template <typename ElementId>
auto AddAll(llvm::ArrayRef<ElementId> params, llvm::ArrayRef<ElementId> args,
bool needs_substitution) -> void {
if (params.size() != args.size()) {
// TODO: Decide whether to error on this or just treat the parameter list
Expand Down

0 comments on commit e82a0aa

Please sign in to comment.