[all-commits] [llvm/llvm-project] c5d4df: [Clang][NFC] Use MarkUsedTemplateParameters in bui...

Younan Zhang via All-commits all-commits at lists.llvm.org
Sat Mar 22 08:05:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c5d4dfb291af1f9c099c25b78dd2ea0a6496a45f
      https://github.com/llvm/llvm-project/commit/c5d4dfb291af1f9c099c25b78dd2ea0a6496a45f
  Author: Younan Zhang <zyn7109 at gmail.com>
  Date:   2025-03-22 (Sat, 22 Mar 2025)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/lib/Sema/SemaTemplateDeductionGuide.cpp

  Log Message:
  -----------
  [Clang][NFC] Use MarkUsedTemplateParameters in building alias CTAD guides (#132369)

It turns out that TemplateParamsReferencedInTemplateArgumentList() and
MarkUsedTemplateParameters() have the similar goal, so let's drop the
hand-written ASTVisitor.



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