<div dir="ltr">The attached patch adjusts the RParenLoc (end loc) used in the CXXMemberCallExpr that gets created in the recovery path when we see a non-call member access to a member function. (Ie., "foo->method" missing parenthesis). This is important to get right, or else the text diagnostic printer can assert.<div>

<br></div><div>The bug is that it places the end sourcelocation at the end of the token (reusing the place where it wrote the fixit for inserting the "()") , instead of the beginning of the last token.<br><div>
<br>
</div><div>Fixes pr16676. Please review!</div><div><br></div><div>Nick</div><div><br></div></div></div>