[llvm-commits] [PATCH] TargetData::getIntPtrType() to return IntegerType

Jay Foad jay.foad at gmail.com
Fri May 8 02:57:09 PDT 2009


Nick Lewycky wrote:
> Your patch looks good to me. You could declare "class IntegerType;" and
> require that users of getIntPtrType who want to write code like the
> above need to #include DerivedTypes.h themselves, but I'm not sure
> that's really an improvement.

Here's the patch to do it that way. It passes regression tests and cfe
and llvm-gcc still build.

Can I commit either of them?

Thanks,
Jay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.intptr2
Type: application/octet-stream
Size: 1705 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090508/b83c589c/attachment.obj>


More information about the llvm-commits mailing list