]> granicus.if.org Git - clang/commit
When deciding whether reinterpret_cast casts away constness we need to look at array...
authorAnders Carlsson <andersca@mac.com>
Fri, 4 Jun 2010 22:47:55 +0000 (22:47 +0000)
committerAnders Carlsson <andersca@mac.com>
Fri, 4 Jun 2010 22:47:55 +0000 (22:47 +0000)
commit52647c63c3cbdf0c87fe8db3ef6f475bfd49725d
tree827cd8be9dfe81620e7fc1d3f7c722d308323d67
parentfc929208193eff37e1d3a28b1ea3bd1c9a7913e0
When deciding whether reinterpret_cast casts away constness we need to look at array qualifiers. Fixes rdar://problem/8018292.

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