[all-commits] [llvm/llvm-project] cce6de: [Clang] Never consider conversion from single-elem...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri May 2 11:56:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cce6de83138223db07d538824e0c398d5da83190
      https://github.com/llvm/llvm-project/commit/cce6de83138223db07d538824e0c398d5da83190
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2025-05-02 (Fri, 02 May 2025)

  Changed paths:
    M clang/include/clang/Sema/Overload.h
    M clang/lib/Sema/SemaOverload.cpp
    M clang/test/SemaCXX/overload-resolution-deferred-templates.cpp

  Log Message:
  -----------
  [Clang] Never consider conversion from single-element braced-init-list perfect (#138307)

We might prefer a template std::initializer list constructor.

Fix a regression introduced by #136203
https://github.com/llvm/llvm-project/pull/136203#issuecomment-2843498895

GCC had a similar issue and a similar fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100963



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