[cfe-dev] Type>>isObjCInterfaceType() blows up
Chris Lattner
clattner at apple.com
Tue Apr 22 20:19:23 PDT 2008
On Apr 22, 2008, at 5:30 PM, Steve Naroff wrote:
> Interesting. I'm sure you're not the last person to be bitten by
> this...
>
> Chris, do you think the API should try and protect against this type
> of mistake?
>
> Seems like we should have a clang::ASTContext::Create() function
> that removes the need for a public constructor.
ASTContext is very useful as a stack-based data structure. I'm not
sure what the right fix is, but I don't really want to lose this
ability...
-Chris
More information about the cfe-dev
mailing list