[analyzer] Pointers escape into +[NSValue valueWithPointer:]...
authorJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:48 +0000 (21:39 +0000)
committerJordan Rose <jordan_rose@apple.com>
Tue, 7 Jan 2014 21:39:48 +0000 (21:39 +0000)
commit514f93541176ca28b21efb625d82487b1abf41f3
tree40622752186b761505c4308199b98d191ca1f8ec
parent6ad4cb4eca2094a3fcde0a90c118632de1b4f939
[analyzer] Pointers escape into +[NSValue valueWithPointer:]...

...even though the argument is declared "const void *", because this is
just a way to pass pointers around as objects. (Though NSData is often
a better one.)

PR18262

llvm-svn: 198710
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h
clang/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
clang/lib/StaticAnalyzer/Core/CallEvent.cpp
clang/test/Analysis/Inputs/system-header-simulator-objc.h
clang/test/Analysis/malloc.m