[all-commits] [llvm/llvm-project] f7c2e5: [clang] [SemaCXX] Disallow deducing "this" on oper...
Rajveer Singh Bharadwaj via All-commits
all-commits at lists.llvm.org
Wed Feb 21 06:31:01 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f7c2e5fa05d221a3dfc53744f353517407c2ffec
https://github.com/llvm/llvm-project/commit/f7c2e5fa05d221a3dfc53744f353517407c2ffec
Author: Rajveer Singh Bharadwaj <rajveer.developer at icloud.com>
Date: 2024-02-21 (Wed, 21 Feb 2024)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/test/SemaCXX/cxx2b-deducing-this.cpp
Log Message:
-----------
[clang] [SemaCXX] Disallow deducing "this" on operator `new` and `delete` (#82251)
Resolves Issue #82249
As described in the issue, any deallocation function for a `class X` is
a static member (even if not explicitly declared static).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list