[all-commits] [llvm/llvm-project] d64b38: [clang] NFCI: don't check deduced constraints when...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sat Aug 31 19:23:00 PDT 2024


  Branch: refs/heads/users/mizvekov/clang-fix-GH18291-4
  Home:   https://github.com/llvm/llvm-project
  Commit: d64b3856ff12756cff9f9c3131e04bcbbe68a6ea
      https://github.com/llvm/llvm-project/commit/d64b3856ff12756cff9f9c3131e04bcbbe68a6ea
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2024-08-31 (Sat, 31 Aug 2024)

  Changed paths:
    M clang/lib/Sema/SemaTemplateDeduction.cpp

  Log Message:
  -----------
  [clang] NFCI: don't check deduced constraints when partial ordering

We were incorrectly applying [temp.deduct]p5 to partial ordering.

Marked as NFCI as I don't think the difference is actually observable
in practice. During partial ordering, the deduced arguments will
mostly be dependent and thus cannot be checked. Otherwise, later
during overload resolution we will perform subsumption check for
the constraints anyway.



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