aboutsummaryrefslogtreecommitdiff
path: root/clang/docs
diff options
context:
space:
mode:
authorcor3ntin <corentinjabot@gmail.com>2024-06-05 16:50:42 +0200
committerGitHub <noreply@github.com>2024-06-05 16:50:42 +0200
commitd0223b9ffc40146fb4a948ebfa652dc95499b7ba (patch)
treebe4ea00c92269ae577aa2278d77bdeaf71d67e75 /clang/docs
parentc537f3564684662748f76cccc325287cb0f54cbd (diff)
downloadllvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.zip
llvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.tar.gz
llvm-d0223b9ffc40146fb4a948ebfa652dc95499b7ba.tar.bz2
[Clang] Static and explicit object member functions with the same parameter-type-lists (#93430)
Implement P2797. Because taking the address of an explicit object member function results in a function pointer, a call expression where the id-expression is an explicit object member is made to behave consistently with that model. This change forces clang to perform overload resolution in the presence of an id-expression of the form `(&Foo::bar)(args...)`, which we previously failed to do consistently.
Diffstat (limited to 'clang/docs')
-rw-r--r--clang/docs/ReleaseNotes.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index deb1560..81b6f8f 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -214,6 +214,9 @@ C++23 Feature Support
- Added a ``__reference_converts_from_temporary`` builtin, completing the necessary compiler support for
`P2255R2: Type trait to determine if a reference binds to a temporary <https://wg21.link/P2255R2>`_.
+- Implemented `P2797R0: Static and explicit object member functions with the same parameter-type-lists <https://wg21.link/P2797R0>`_.
+ This completes the support for "deducing this".
+
C++2c Feature Support
^^^^^^^^^^^^^^^^^^^^^