From 567da2e361d83524d8247259b8e9fe7fcd6f38aa Mon Sep 17 00:00:00 2001 From: Younan Zhang Date: Wed, 7 Feb 2024 08:11:28 +0800 Subject: [PATCH] PR for llvm/llvm-project#79568 (#80120) Backporting https://github.com/llvm/llvm-project/pull/79568 to clang 18. --- clang/docs/ReleaseNotes.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index d22589c14cb9ba2..d3693f83ea4ca10 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -340,6 +340,11 @@ Bug Fixes to C++ Support specialization right before its declaration context. (#GH64082) - Fixed a constraint comparison bug for friend declarations. (#GH78101) + +- Fixed a bug where variables referenced by requires-clauses inside + nested generic lambdas were not properly injected into the constraint scope. + (`#73418 `_) + - Fix incorrect code generation caused by the object argument of ``static operator()`` and ``static operator[]`` calls not being evaluated. Fixes (`#67976 `_)