]> granicus.if.org Git - clang/commit
Fix a bug in -Wundefined-reinterpret-cast where we failed to look
authorChandler Carruth <chandlerc@gmail.com>
Tue, 24 May 2011 07:43:19 +0000 (07:43 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 24 May 2011 07:43:19 +0000 (07:43 +0000)
commit1f8f2d52ff3712770a49f318a687b0c8b0ada9d0
tree5608ad9a3f055215aceab4f229602f6612c312fe
parent74a5fd8bcc68b540b58f6fcd2d80e6e926966e71
Fix a bug in -Wundefined-reinterpret-cast where we failed to look
through sugared types when testing for TagTypes. This was the actual
cause of the only false positive in Clang+LLVM.

Next evaluation will be over a much larger selection of code including
large amounts of open source code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131957 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/SemaCXX/reinterpret-cast.cpp