Skip to content

Commit d15d5e9

Browse files
cor3ntinxgupta
authored andcommitted
[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 e843e87 commit d15d5e9

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
@@ -1167,6 +1167,11 @@ Bug Fixes to C++ Support
11671167
- Fix incorrect code generation caused by the object argument of ``static operator()`` and ``static operator[]`` calls not being evaluated.
11681168
Fixes (`#67976 <https://github.com/llvm/llvm-project/issues/67976>`_)
11691169

1170+
- Fix crash when using an immediate-escalated function at global scope.
1171+
(`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
1172+
- Correctly immediate-escalate lambda conversion functions.
1173+
(`#82258 <https://github.com/llvm/llvm-project/issues/82258>`_)
1174+
11701175
Bug Fixes to AST Handling
11711176
^^^^^^^^^^^^^^^^^^^^^^^^^
11721177
- Clang now properly preserves ``FoundDecls`` within a ``ConceptReference``. (#GH82628)

0 commit comments

Comments
 (0)