[all-commits] [llvm/llvm-project] 403651: Refactor: Extract the core deduction-guide constru...

Haojian Wu via All-commits all-commits at lists.llvm.org
Fri May 3 02:16:23 PDT 2024


  Branch: refs/heads/users/hokein/fix-ctad-aggregate-base
  Home:   https://github.com/llvm/llvm-project
  Commit: 40365147f7aabeaaefd7e9bf6f2b96d6f7135992
      https://github.com/llvm/llvm-project/commit/40365147f7aabeaaefd7e9bf6f2b96d6f7135992
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

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

  Log Message:
  -----------
  Refactor: Extract the core deduction-guide construction implementation from DeclareImplicitDeductionGuidesForTypeAlias

We move the core implementation to a dedicate function, so that it can
be reused in other places.


  Commit: 621899224aa7d59ab70675f6ff32b298b06a515a
      https://github.com/llvm/llvm-project/commit/621899224aa7d59ab70675f6ff32b298b06a515a
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2024-05-03 (Fri, 03 May 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] CTAD: fix the aggregate deduction guide for alias templates.

For alias templates, the way we construct their aggregate deduction guides is
not following the standard way. We should do the same thing as we do for
implicit deduction guides.


Compare: https://github.com/llvm/llvm-project/compare/40365147f7aa%5E...621899224aa7

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