On 18.02.2012, at 02:10, Matt Beaumont-Gay wrote:

> I'm updating some code to for these API changes, and I'm starting to
> think it might be nice to add a little method like this to CXXNewExpr:
> 
> const CXXConstructExpr* getConstructExpr() {
>  return dyn_cast_or_null<CXXConstructExpr>(getInitializer());
> }
> 
> It seems to be pretty common that code that was looking into 'new'
> exprs mostly wanted to dig out information about the constructor (if
> any). What do you think?

Sure, why not?

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to