diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2016-04-14 23:58:26 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2016-04-14 23:58:26 +0000 |
commit | 64dbe06997a8d533adb94e6e9e5eca491a93181d (patch) | |
tree | 23285f668a48f1d2ac99ce383aecbc500d21fa7c /test/tsan/static_init6.cc | |
parent | adcf176ce5468872bddbfe2647568612cfd541b8 (diff) |
Fix StaticAnalyzer complaints. NFC.
Clang's StaticAnalyzer seems to (correctly) complain about code like:
T *p = calloc(sizeof(U), N);
...Where T and U are different types.
This patch removes some instances of this pattern from compiler-rt.
Patch by Apelete Seketeli.
Differential Revision: http://reviews.llvm.org/D19085
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@266388 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/static_init6.cc')
0 files changed, 0 insertions, 0 deletions