[all-commits] [llvm/llvm-project] 017b50: [clang] Don't lose track of explicit specializatio...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Mon Oct 7 12:46:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 017b504b462ce7d4938f704a1f10118ead347d3d
      https://github.com/llvm/llvm-project/commit/017b504b462ce7d4938f704a1f10118ead347d3d
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-10-07 (Mon, 07 Oct 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/test/SemaTemplate/ms-function-specialization-class-scope.cpp

  Log Message:
  -----------
  [clang] Don't lose track of explicit specializations of member function templates (#111267)

When instantiating a class template, we would lose track of function
template explicit specializations, marking them with the wrong
specialization kind.

This would lead to improperly using the explcit specialization arguments
to instantiate the function body.

This also better matches MSVC on the behaviour of explicitly vs
implicitly instantiating these.

Fixes #111266



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