]> granicus.if.org Git - clang/commit
Set the cast kind to CK_NoOp for C-style casts that are really const casts. Fixes...
authorAnders Carlsson <andersca@mac.com>
Mon, 19 Oct 2009 18:14:28 +0000 (18:14 +0000)
committerAnders Carlsson <andersca@mac.com>
Mon, 19 Oct 2009 18:14:28 +0000 (18:14 +0000)
commitda921fd19fd496494365f9f2325c338e66216709
treecb68a1bc9d903228b5cb7005c080836ae482c7fb
parent36c4464ba6cfc2a63dc67c493ef2f5ab2aea09cc
Set the cast kind to CK_NoOp for C-style casts that are really const casts. Fixes PR5248.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84514 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/CodeGenCXX/casts.cpp [new file with mode: 0644]