[all-commits] [llvm/llvm-project] bb0645: [Clang][CTAD][NFC] Unify transformTemplateParamete...

Younan Zhang via All-commits all-commits at lists.llvm.org
Sun Jul 28 04:34:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
      https://github.com/llvm/llvm-project/commit/bb064535bd071c1bddaf55ff7fe283fc8d23c1fc
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2024-07-28 (Sun, 28 Jul 2024)

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

  Log Message:
  -----------
  [Clang][CTAD][NFC] Unify transformTemplateParameter() (#100865)

We ended up having two transformTemplateParameter() after CTAD for type
aliases was landed. This patch cleans them up and allows them to share
one implementation.

As a bonus, this also uses getDepthAndIndex() in preference to
getTemplateParameter{Depth,Index}().



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list