diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-10 07:52:53 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-11-10 07:52:53 +0000 |
commit | 37e9c47b6a6650b81c9796d2e46eb3ad6a0e16a0 (patch) | |
tree | a7e6feb35fae0c83cc1d164402b9a698d3f8b46f /lib/CodeGen/CGVtable.cpp | |
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
Diffstat (limited to 'lib/CodeGen/CGVtable.cpp')
0 files changed, 0 insertions, 0 deletions