<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 Oct 17, 2012, at 4:08 AM, Mohammad Adil <<a href="mailto:madil90@gmail.com">madil90@gmail.com</a>> wrote:</div><blockquote type="cite"><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Mohammad Adil</b> <span dir="ltr"><<a href="mailto:madil90@gmail.com">madil90@gmail.com</a>></span><br>Date: Wed, Oct 17, 2012 at 4:08 PM<br>
Subject: Re: [cfe-dev] Type Information for C++ classes<br>To: Manuel Klimek <<a href="mailto:klimek@google.com">klimek@google.com</a>><br><br><br>I am analyzing an AST with clang and I have a code which uses "FILE" type. Clang reports FILE type as int rather than FILE. I need to distinguish between FILE and int because both of them behave differently with streams. Is there a way I can distinguish between these two in clang?</div></blockquote><br></div><div>Presumably, you'll see a TypedefType for FILE, whose underlying type is 'int'. </div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">   </span>- Doug</div><br></body></html>