rsmith added a comment.

Please handle this by temporarily updating the `This` pointer appropriately 
when evaluating the `CXXDefaultInitExpr` rather than trying to work around the 
`This` value being wrong later (your approach will still go wrong if the `This` 
pointer is used in other ways, such as an explicit mention of `this` or a 
member function call). You can refer to how we do this in CodeGen: look for 
`CodeGenFunction::CXXDefaultInitExprScope` and 

cfe-commits mailing list

Reply via email to