diff options
| author | Devin Coughlin <dcoughlin@apple.com> | 2016-04-13 17:59:24 +0000 |
|---|---|---|
| committer | Devin Coughlin <dcoughlin@apple.com> | 2016-04-13 17:59:24 +0000 |
| commit | 4ac12425ba3904ba5796b183f635af5c6a25f741 (patch) | |
| tree | 86af2a9c23ba6f00f319450c0323008c8af64aa4 /llvm/test/Bitcode/thinlto-function-summary.ll | |
| parent | 6662d6ad2add5329a462bf70381646e5e7ec39bf (diff) | |
| download | bcm5719-llvm-4ac12425ba3904ba5796b183f635af5c6a25f741.tar.gz bcm5719-llvm-4ac12425ba3904ba5796b183f635af5c6a25f741.zip | |
[analyzer] Nullability: Suppress diagnostic on bind with cast.
Update the nullability checker to allow an explicit cast to nonnull to
suppress a warning on an assignment of nil to a nonnull:
id _Nonnull x = (id _Nonnull)nil; // no-warning
This suppression as already possible for diagnostics on returns and
function/method arguments.
rdar://problem/25381178
llvm-svn: 266219
Diffstat (limited to 'llvm/test/Bitcode/thinlto-function-summary.ll')
0 files changed, 0 insertions, 0 deletions

