[all-commits] [llvm/llvm-project] f22e58: [Sema] CheckObjCBridgeNSCast - fix dead code warni...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Wed Aug 18 03:53:44 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f22e5869a012af09e130d804bba441eff261b1fe
https://github.com/llvm/llvm-project/commit/f22e5869a012af09e130d804bba441eff261b1fe
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-08-18 (Wed, 18 Aug 2021)
Changed paths:
M clang/lib/Sema/SemaExprObjC.cpp
Log Message:
-----------
[Sema] CheckObjCBridgeNSCast - fix dead code warning. NFCI.
Target is only ever non-null when we find an existing type, so move its declaration inside that case, and remove the dead code where Target was always null.
More information about the All-commits
mailing list