[all-commits] [llvm/llvm-project] 644365: [clang][AST] Teach `CXXTypeidExpr::isMostDerived` ...
Iris Shi via All-commits
all-commits at lists.llvm.org
Mon May 11 06:54:55 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6443657de563bfb5870529e92075a2c13e9f4acb
https://github.com/llvm/llvm-project/commit/6443657de563bfb5870529e92075a2c13e9f4acb
Author: Iris Shi <0.0 at owo.li>
Date: 2026-05-11 (Mon, 11 May 2026)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/lib/AST/ExprCXX.cpp
A clang/test/CodeGenCXX/typeid-most-derived.cpp
Log Message:
-----------
[clang][AST] Teach `CXXTypeidExpr::isMostDerived` to use `isEffectivelyFinal` (#196544)
Resolves #196476.
When a class is marked final, typeid on references to that type can be
resolved at compile time since the most-derived type is statically
known.
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