[all-commits] [llvm/llvm-project] 622f8d: PR49724: Fix deduction of null member pointers.

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Mar 25 13:47:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 622f8de4f25136630007ce70915da4ef5321d080
      https://github.com/llvm/llvm-project/commit/622f8de4f25136630007ce70915da4ef5321d080
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    M clang/test/SemaTemplate/deduction.cpp

  Log Message:
  -----------
  PR49724: Fix deduction of null member pointers.

Previously we created an implicit cast of the wrong kind, which we'd
later fail to constant-evaluate, resulting in deduction failure.




More information about the All-commits mailing list