[all-commits] [llvm/llvm-project] 09831f: [Clang] SFINAE on mismatching pack length during c...

cor3ntin via All-commits all-commits at lists.llvm.org
Sat Aug 10 02:57:47 PDT 2024


  Branch: refs/heads/release/19.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 09831f28cf1e7630569dc672701fde1be90f8950
      https://github.com/llvm/llvm-project/commit/09831f28cf1e7630569dc672701fde1be90f8950
  Author: cor3ntin <corentinjabot at gmail.com>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M clang/lib/Sema/SemaConcept.cpp
    M clang/test/SemaCXX/cxx2c-fold-exprs.cpp

  Log Message:
  -----------
  [Clang] SFINAE on mismatching pack length during constraint satisfaction checking (#101879)

If a fold expanded constraint would expand packs of different size, it
is not a valid pack expansion and it is not satisfied. This should not
produce an error.

Fixes #99430

(cherry picked from commit da380b26e4748ade5a8dba85b7df5e1c4eded8bc)



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