Skip to content

Commit

Permalink
Backport '[clang] static operators should evaluate object argument (r…
Browse files Browse the repository at this point in the history
…eland)' to release/18.x (llvm#80109)

Cherry picked from commit ee01a2c.

Closes llvm#80041, backport llvm#80108.

Co-authored-by: Shafik Yaghmour <shafik@users.noreply.github.com>
Co-authored-by: cor3ntin <corentinjabot@gmail.com>
Co-authored-by: Aaron Ballman <aaron@aaronballman.com>
  • Loading branch information
4 people authored and xgupta committed Oct 8, 2024
1 parent 3984c20 commit 8cf029f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang/docs/ReleaseNotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,9 @@ Bug Fixes to C++ Support
- Fix handling of ``_`` as the name of a lambda's init capture variable. (#GH107024)


- Fix incorrect code generation caused by the object argument of ``static operator()`` and ``static operator[]`` calls not being evaluated.
Fixes (`#67976 <https://github.com/llvm/llvm-project/issues/67976>`_)

Bug Fixes to AST Handling
^^^^^^^^^^^^^^^^^^^^^^^^^
- Clang now properly preserves ``FoundDecls`` within a ``ConceptReference``. (#GH82628)
Expand Down

0 comments on commit 8cf029f

Please sign in to comment.