]> granicus.if.org Git - clang/commit
GetExprRange() (used by -Wconversion checking) should look through OpaqueValueExprs.
authorTed Kremenek <kremenek@apple.com>
Mon, 14 Oct 2013 18:55:27 +0000 (18:55 +0000)
committerTed Kremenek <kremenek@apple.com>
Mon, 14 Oct 2013 18:55:27 +0000 (18:55 +0000)
commit728a1fb4fd6c1bcb200b5eed398e982fe1856ee1
tree900f349cb4e67ab04c12eec211319b9477498947
parent03954b3b6366223ed2ba85ed52ffe16c285142b7
GetExprRange() (used by -Wconversion checking) should look through OpaqueValueExprs.

Fixes a false positive with -Wconversion involving Objective-C properties.

Fixes <rdar://problem/14415662>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/SemaObjC/conversion.m [new file with mode: 0644]