[all-commits] [llvm/llvm-project] e0eb8f: [clang] Fix static_cast bypassing access control (...
offsetof via All-commits
all-commits at lists.llvm.org
Thu Jul 10 23:12:03 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e0eb8f0ef3ef908770900a082441588a43cc460f
https://github.com/llvm/llvm-project/commit/e0eb8f0ef3ef908770900a082441588a43cc460f
Author: offsetof <offsetof at mailo.com>
Date: 2025-07-11 (Fri, 11 Jul 2025)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/Sema/SemaCast.cpp
M clang/test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp
Log Message:
-----------
[clang] Fix static_cast bypassing access control (#132285)
Fix access and ambiguity checks not being performed when converting to
an rvalue reference to a base class type with `static_cast`.
Fixes #121429
---------
Co-authored-by: Corentin Jabot <corentinjabot at gmail.com>
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