Skip to content

Commit 3f98b74

Browse files
cor3ntinShivam Gupta
authored and
Shivam Gupta
committed
[Clang] Fixes to immediate-escalating functions (llvm#82281)
* Consider that immediate escalating function can appear at global scope, fixing a crash * Lambda conversion to function pointer was sometimes not performed in an immediate function context when it should be. Fixes llvm#82258 (cherry picked from commit baf6bd3)
1 parent 10ac308 commit 3f98b74

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,11 @@ Bug Fixes to C++ Support
419419
- Fix incorrect code generation caused by the object argument of ``static operator()`` and ``static operator[]`` calls not being evaluated.
420420
Fixes (`#67976 <https://github.com/llvm/llvm-project/issues/67976>`_)
421421

422+
- Fix crash when using an immediate-escalated function at global scope.
423+
(`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
424+
- Correctly immediate-escalate lambda conversion functions.
425+
(`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
426+
422427
Bug Fixes to AST Handling
423428
^^^^^^^^^^^^^^^^^^^^^^^^^
424429

0 commit comments

Comments
 (0)