[cfe-dev] Getting the intptr_t type.
Jordan Rose
jordan_rose at apple.com
Fri Jan 25 14:10:04 PST 2013
On Jan 25, 2013, at 12:17 , Matthieu Monrocq <matthieu.monrocq at gmail.com> wrote:
>
>
> On Fri, Jan 25, 2013 at 7:23 PM, Enea Zaffanella <zaffanella at cs.unipr.it> wrote:
> Hello.
>
> In ASTContext, we have methods such as
> QualType getSizeType() const
> QualType getPointerDiffType() const
> [...]
> that query TargetInfo, but there seems to be no method named
> QualType getIntPtrType() const
>
> Would it be OK to add it?
>
> Enea.
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
> In this case, would it make sense to add a getUIntPtrType() for `uintptr_t` as well ?
It's not strictly necessary because of getCorrespondingUnsignedType, but that doesn't mean we shouldn't add it. getIntPtrType definitely makes sense to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130125/086d6f32/attachment.html>
More information about the cfe-dev
mailing list