[Sema] Look through OpaqueValueExpr when checking implicit conversions
authorErik Pilkington <erik.pilkington@gmail.com>
Mon, 2 Mar 2020 18:27:41 +0000 (10:27 -0800)
committerErik Pilkington <erik.pilkington@gmail.com>
Mon, 2 Mar 2020 19:24:36 +0000 (11:24 -0800)
commite392dcd5708b3bb188ff4043b09ae151472a7632
treef8342335f41c36b8898e78f41f068cbcb693fa1e
parent603acd9626704956c0cf90b18b746795962ddc93
[Sema] Look through OpaqueValueExpr when checking implicit conversions

Specifically, this fixes a false-positive in -Wobjc-signed-char-bool.
rdar://57372317

Differential revision: https://reviews.llvm.org/D75387
clang/lib/Sema/SemaChecking.cpp
clang/test/SemaObjC/signed-char-bool-conversion.m