[all-commits] [llvm/llvm-project] b9183d: [Clang][Sema] Ensure that the selected candidate f...

Krystian Stasiowski via All-commits all-commits at lists.llvm.org
Tue Aug 6 08:34:12 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9183d0d0e24d164d3b57bf81ae911a22094e897
      https://github.com/llvm/llvm-project/commit/b9183d0d0e24d164d3b57bf81ae911a22094e897
  Author: Krystian Stasiowski <sdkrystian at gmail.com>
  Date:   2024-08-06 (Tue, 06 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.spec/temp.expl.spec/p14-23.cpp

  Log Message:
  -----------
  [Clang][Sema] Ensure that the selected candidate for a member function explicit specialization is more constrained than all others (#101721)

The selection of the most constrained candidate for member function
explicit specializations introduced in #88963 does not check whether the
selected candidate is more constrained than all other candidates, which
can result in ambiguities being undiagnosed. This patch addresses the
issue.



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