commit | 37e9c47b6a6650b81c9796d2e46eb3ad6a0e16a0 | [log] [tgz] |
---|---|---|
author | Zhongxing Xu <xuzhongxing@gmail.com> | Tue Nov 10 07:52:53 2009 +0000 |
committer | Zhongxing Xu <xuzhongxing@gmail.com> | Tue Nov 10 07:52:53 2009 +0000 |
tree | a7e6feb35fae0c83cc1d164402b9a698d3f8b46f | |
parent | 380dd759b33fd059b1aa7dbd85f8e66ca32f7bdc [diff] |
SizeofPointerChecker: Many false positives have the form 'sizeof *p'. This is reasonable because people know what they are doing when they intentionally dereference the pointer. So now we only emit warning when a pointer variable is use literally. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86673 91177308-0d34-0410-b5e6-96231b3b80d8