]> granicus.if.org Git - clang/commit
After some discussion, conservatively extend our sentinel check to discard
authorJohn McCall <rjmccall@apple.com>
Thu, 6 May 2010 23:53:00 +0000 (23:53 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 6 May 2010 23:53:00 +0000 (23:53 +0000)
commit8eb662ed5e04bd0f494c7dbefacb7d45660ab9fa
treeb890e9507d9fd8a0405c719916eeaefc9de2ba37
parent25a767835262562dc9e8809c057f984d2812cb46
After some discussion, conservatively extend our sentinel check to discard
casts, but still require the (casted) type to be a pointer.  Fixes PR5685.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@103216 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Sema/attr-sentinel.c