[all-commits] [llvm/llvm-project] d02786: [Sema] Handle AttributedType in template deduction...

Ilya Biryukov via All-commits all-commits at lists.llvm.org
Fri Apr 4 05:24:16 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d02786e7785ffa8c0aae4d89e9f6391bb4645500
      https://github.com/llvm/llvm-project/commit/d02786e7785ffa8c0aae4d89e9f6391bb4645500
  Author: Ilya Biryukov <ibiryukov at google.com>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp
    A clang/test/Sema/nullability-and-template-deduction.cpp

  Log Message:
  -----------
  [Sema] Handle AttributedType in template deduction with derived-to-base conversions (#134361)

Fix #134356.

We accidentally skipped checking derived-to-base conversions because
deduction did not strip sugar in the relevant code. This caused
deduction failures when a parameter type had an attribute.



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