[all-commits] [llvm/llvm-project] 38cf47: [clang] Error on substitution failure within lambd...

Mariya Podchishchaeva via All-commits all-commits at lists.llvm.org
Tue Aug 8 01:10:58 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38cf47f037b2504a57ba5673f507241af1d6e19d
      https://github.com/llvm/llvm-project/commit/38cf47f037b2504a57ba5673f507241af1d6e19d
  Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
  Date:   2023-08-08 (Tue, 08 Aug 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Sema/SemaTemplateInstantiate.cpp
    M clang/test/CXX/drs/dr26xx.cpp
    M clang/test/SemaCXX/lambda-unevaluated.cpp
    M clang/www/cxx_dr_status.html

  Log Message:
  -----------
  [clang] Error on substitution failure within lambda body inside a requires-expression

Per CWG 2672 substitution failure within the body of a lambda inside a
requires-expression should be a hard error.

Fixes https://github.com/llvm/llvm-project/issues/64138

Reviewed By: cor3ntin

Differential Revision: https://reviews.llvm.org/D156993




More information about the All-commits mailing list