]> granicus.if.org Git - clang/commit
Apparently getPtrToInt() takes an explicit type parameter to allow you to generate...
authorDavid Chisnall <csdavec@swan.ac.uk>
Sat, 8 Oct 2011 08:54:36 +0000 (08:54 +0000)
committerDavid Chisnall <csdavec@swan.ac.uk>
Sat, 8 Oct 2011 08:54:36 +0000 (08:54 +0000)
commit49de5289acea91c9d224c9aadd4d527e8f9fdaff
treedff9000d830654902cd184522a74ec5f6c4b6f8e
parent0628b724ff68105dc88af00a39f859447f22981e
Apparently getPtrToInt() takes an explicit type parameter to allow you to generate invalid bitcode, not so that it can actually produce a value of this type.  This should fix PR11085.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141482 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGObjCGNU.cpp