[all-commits] [llvm/llvm-project] 75cd8c: [Clang] Correctly handle generic lambda used as de...

cor3ntin via All-commits all-commits at lists.llvm.org
Fri May 26 07:04:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75cd8cdbde45d07800d5cefa6f7a213271245e4a
      https://github.com/llvm/llvm-project/commit/75cd8cdbde45d07800d5cefa6f7a213271245e4a
  Author: Corentin Jabot <corentinjabot at gmail.com>
  Date:   2023-05-26 (Fri, 26 May 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/Parse/ParseTemplate.cpp
    M clang/test/SemaCXX/cxx2a-template-lambdas.cpp

  Log Message:
  -----------
  [Clang] Correctly handle generic lambda used as default template argument.

Adjust the template pparameter depth when parsing default
template arguments as they may introduce generic lambda whose parameters
are not substituted at the same depth.

Fixes #62611

Reviewed By: erichkeane, #clang-language-wg

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




More information about the All-commits mailing list