[all-commits] [llvm/llvm-project] 77f0f8: [Sema][ObjC] Treat unknown selector messages as un...
Akira Hatanaka via All-commits
all-commits at lists.llvm.org
Thu Jul 3 10:01:30 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 77f0f812b4195bfde3b8d2ddb4b85f78f41a628f
https://github.com/llvm/llvm-project/commit/77f0f812b4195bfde3b8d2ddb4b85f78f41a628f
Author: Akira Hatanaka <ahatanak at gmail.com>
Date: 2025-07-03 (Thu, 03 Jul 2025)
Changed paths:
M clang/lib/Basic/DiagnosticIDs.cpp
M clang/test/SemaObjCXX/arc-0x.mm
Log Message:
-----------
[Sema][ObjC] Treat unknown selector messages as unrecoverable errors under ARC (#146803)
Fixes a CodeGen crash observed when C++ auto variable types remained
non-deduced due to a message being sent with an unknown selector under
ARC.
By treating these instances as an unrecoverable error, we prevent the
compiler from proceeding to CodeGen with fundamentally incorrect code.
rdar://144394403
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