> The problem here, which I hadn't been thinking about before, is lifetime > extension for temporaries. We actually have to dig into the initializer > expression to find the, even when the variable type is a reference to a > scalar type.
This patch uses a visitor to find the CXXConstructExpr, but it is not clear to me all the cases where we have to stop the AST traverse. > > - Doug Cheers, Rafael
t.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
