[all-commits] [llvm/llvm-project] 13649c: [clang] fix transformation of subst constant templ...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Thu Sep 25 19:16:20 PDT 2025


  Branch: refs/heads/users/mizvekov/fix-substnttp-transform
  Home:   https://github.com/llvm/llvm-project
  Commit: 13649cf04f0dd0982ea88d8011b48fadbe3e8ba7
      https://github.com/llvm/llvm-project/commit/13649cf04f0dd0982ea88d8011b48fadbe3e8ba7
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/AST/ExprCXX.h
    M clang/include/clang/AST/TypeBase.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/AST/ExprCXX.cpp
    M clang/lib/AST/StmtProfile.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
    M clang/lib/Sema/TreeTransform.h
    M clang/test/SemaCXX/ctad.cpp
    M clang/test/SemaCXX/cxx20-ctad-type-alias.cpp
    M clang/test/SemaTemplate/temp_arg_nontype_cxx2c.cpp

  Log Message:
  -----------
  [clang] fix transformation of subst constant template parameter nodes

This simplifies those transforms a lot, removing a bunch of workarounds
which were introducing problems.

The transforms become independent of the template instantiator, so
they are moved to TreeTransform instead.

Fixes #131342



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