[cfe-dev] Type Uniquing with noexcept specifiers
Sebastian Redl
sebastian.redl at getdesigned.at
Mon Mar 7 12:46:43 PST 2011
Hi,
With noexcept, FunctionProtoType gained an Expr* member. This is a problem for uniquing types: to profile an Expr, I need an ASTContext, but I can't get one into FunctionProtoType::Profile(). Other types with an Expr* member (e.g. DependentTypeOfExprType) store their own ASTContext, but I'm loath to store one in a type as common as FunctionProtoType.
Do I have a choice?
Sebastian
More information about the cfe-dev
mailing list