<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 25, 2013, at 12:17 , Matthieu Monrocq <<a href="mailto:matthieu.monrocq@gmail.com">matthieu.monrocq@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><br><br><div class="gmail_quote">On Fri, Jan 25, 2013 at 7:23 PM, Enea Zaffanella <span dir="ltr"><<a href="mailto:zaffanella@cs.unipr.it" target="_blank">zaffanella@cs.unipr.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello.<br>
<br>
In ASTContext, we have methods such as<br>
  QualType getSizeType() const<br>
  QualType getPointerDiffType() const<br>
  [...]<br>
that query TargetInfo, but there seems to be no method named<br>
  QualType getIntPtrType() const<br>
<br>
Would it be OK to add it?<br>
<br>
Enea.<br>
______________________________<u></u>_________________<br>
cfe-dev mailing list<br>
<a href="mailto:cfe-dev@cs.uiuc.edu" target="_blank">cfe-dev@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/cfe-dev</a><br>
</blockquote></div><br>In this case, would it make sense to add a getUIntPtrType() for `uintptr_t` as well ?<br></blockquote></div><br><div>It's not strictly necessary because of getCorrespondingUnsignedType, but that doesn't mean we shouldn't add it. getIntPtrType definitely makes sense to me.</div></body></html>