]> granicus.if.org Git - clang/commit
Use the source range of the whole sizeof expression, otherwise it crashes when
authorZhongxing Xu <xuzhongxing@gmail.com>
Tue, 10 Nov 2009 03:27:00 +0000 (03:27 +0000)
committerZhongxing Xu <xuzhongxing@gmail.com>
Tue, 10 Nov 2009 03:27:00 +0000 (03:27 +0000)
commit572ea2697dc6fe972580779f1f69e5a987f206c9
treea0dcab4f87d0bb8b08e2acabf9471272cb6ebb19
parentad26b7376b6fd71d14b9b893eaa1ba79e029c830
Use the source range of the whole sizeof expression, otherwise it crashes when
the argument is not an expression.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86660 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/CheckSizeofPointer.cpp