summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/malloc-sizeof.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Tweak MallocSizeOfChecker to not warn when using sizeof(void*) to ↵Ted Kremenek2014-10-191-0/+26
allocate a bunch of any pointer type. This suppresses a common false positive when analyzing libc++. Along the way, introduce some tests to show this checker actually works with C++ static_cast<>. llvm-svn: 220160
OpenPOWER on IntegriCloud