[cfe-dev] Getting the intptr_t type.

Matthieu Monrocq matthieu.monrocq at gmail.com
Fri Jan 25 12:17:32 PST 2013


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<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 ?

-- Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130125/2301fb4b/attachment.html>


More information about the cfe-dev mailing list