[cfe-dev] C++ Language Support Library

Argiris Kirtzidis akyrtzi at gmail.com
Sun Nov 9 11:48:29 PST 2008


Eli Friedman wrote:
> All right, so ignoring the concept stuff, all we need is type_info,
> nullptr_t, and maybe a few of the exception types depending on the
> implementation.  I'd say just add them to the ASTContext.
>   

Sema also needs to track whether std::type_info has been defined or not.
We could always add a 'std' namespace and a 'class typeinfo' forward 
reference and check whether the 'typeinfo' RecordDecl is defined, but it 
seems a bit wasteful to always declare them.

-Argiris



More information about the cfe-dev mailing list