Skip to content

Commit 8cf029f

Browse files
SuperSodaSeashafikcor3ntinAaronBallman
authored andcommitted
Backport '[clang] static operators should evaluate object argument (reland)' to release/18.x (llvm#80109)
Cherry picked from commit ee01a2c. Closes llvm#80041, backport llvm#80108. Co-authored-by: Shafik Yaghmour <[email protected]> Co-authored-by: cor3ntin <[email protected]> Co-authored-by: Aaron Ballman <[email protected]>
1 parent 3984c20 commit 8cf029f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,9 @@ Bug Fixes to C++ Support
11251125
- Fix handling of ``_`` as the name of a lambda's init capture variable. (#GH107024)
11261126

11271127

1128+
- Fix incorrect code generation caused by the object argument of ``static operator()`` and ``static operator[]`` calls not being evaluated.
1129+
Fixes (`#67976 <https://github.com/llvm/llvm-project/issues/67976>`_)
1130+
11281131
Bug Fixes to AST Handling
11291132
^^^^^^^^^^^^^^^^^^^^^^^^^
11301133
- Clang now properly preserves ``FoundDecls`` within a ``ConceptReference``. (#GH82628)

0 commit comments

Comments
 (0)