diff options
| author | Anna Zaks <ganna@apple.com> | 2016-10-26 22:51:47 +0000 |
|---|---|---|
| committer | Anna Zaks <ganna@apple.com> | 2016-10-26 22:51:47 +0000 |
| commit | 5b2b39065ca6369280f4f07d3dc42f0785721911 (patch) | |
| tree | 6c6fd23428c06f86ff48dd929027e4cc0e316c99 /llvm/lib/CodeGen/RegAllocBasic.cpp | |
| parent | 31d8b7d21d54beeab4eccc60887db798b025235f (diff) | |
| download | bcm5719-llvm-5b2b39065ca6369280f4f07d3dc42f0785721911.tar.gz bcm5719-llvm-5b2b39065ca6369280f4f07d3dc42f0785721911.zip | |
[analyzer] Report CFNumberGetValue API misuse
This patch contains 2 improvements to the CFNumber checker:
- Checking of CFNumberGetValue misuse.
- Treating all CFNumber API misuse errors as non-fatal. (Previously we treated errors that could cause uninitialized memory as syncs and the truncation errors as non-fatal.)
This implements a subset of functionality from https://reviews.llvm.org/D17954.
Differential Revision: https://reviews.llvm.org/D25876
llvm-svn: 285253
Diffstat (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp')
0 files changed, 0 insertions, 0 deletions

