]> granicus.if.org Git - clang/commit
Handle pointer arithmetic on function pointers.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 23 Jan 2009 18:51:09 +0000 (18:51 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 23 Jan 2009 18:51:09 +0000 (18:51 +0000)
commitb09fae74acfae7af8b3d31b9638a0aa0fdf7c7ac
tree2d64d584d2009907242565ce07f6671c5e82849b
parent863c486fcb6162495a94fddf7ac8409de2638995
Handle pointer arithmetic on function pointers.
 - <rdar://problem/6518844> Clang-generated bitcode crashes LLVM while compiling function pointer addition expression

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62857 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/pointer-arithmetic.c