[all-commits] [llvm/llvm-project] 9b2340: [Concepts] Fix MarkUsedTemplateParameters for exprs

Saar Raz via All-commits all-commits at lists.llvm.org
Fri Jan 10 17:17:12 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b23407063ca41901e9e272bacf8b33eee8251c4
      https://github.com/llvm/llvm-project/commit/9b23407063ca41901e9e272bacf8b33eee8251c4
  Author: Saar Raz <saar at raz.email>
  Date:   2020-01-11 (Sat, 11 Jan 2020)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp

  Log Message:
  -----------
  [Concepts] Fix MarkUsedTemplateParameters for exprs

D41910 introduced a recursive visitor to MarkUsedTemplateParameters, but
disregarded the 'Depth' parameter, and had incorrect assertions. This fixes
the visitor and removes the assertions.




More information about the All-commits mailing list