[all-commits] [llvm/llvm-project] c82f79: [Clang][Sema] Rebuild template parameters for out-...

Krystian Stasiowski via All-commits all-commits at lists.llvm.org
Thu Aug 22 06:22:56 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c82f7976ae20a7c76904415eae1964bab78f1a04
      https://github.com/llvm/llvm-project/commit/c82f7976ae20a7c76904415eae1964bab78f1a04
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-08-22 (Thu, 22 Aug 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/CXX/temp/temp.decls/temp.mem/p1.cpp

  Log Message:
  -----------
  [Clang][Sema] Rebuild template parameters for out-of-line template definitions and partial specializations (#104030)

We need to rebuild the template parameters of out-of-line
definitions/specializations of member templates in the context of the
current instantiation for the purposes of declaration matching. We
already do this for function templates and class templates, but not
variable templates, partial specializations of variable template, and
partial specializations of class templates. This patch fixes the latter
cases.



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