]> granicus.if.org Git - clang/commit
Allow C-style casts and reinterpret_casts between block pointers and
authorDouglas Gregor <dgregor@apple.com>
Thu, 8 Jul 2010 20:27:32 +0000 (20:27 +0000)
committerDouglas Gregor <dgregor@apple.com>
Thu, 8 Jul 2010 20:27:32 +0000 (20:27 +0000)
commitbf9fb88e29e565061c1e91d790af6b43c25915a7
tree53a9a896930882be78085b0f0a0a6bf051925775
parentb085f79e4f8f34b73a524f1946b94f797b7358c7
Allow C-style casts and reinterpret_casts between block pointers and
either integer values or other pointers. Fixes <rdar://problem/8134521>.

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