I have noticed that the CXXConstructExpr is not always created with the correct parenthesis range. For example:<div><br></div><div><div>struct X { X(int x) {} };</div><div>void f() {</div><div>  X value(7);  // CXXConstructExpr has correct range (5, 12)</div>
<div>  X(7);  // CXXConstructExpr has incorrect range (3, 5), does not include ")"</div><div>}</div></div><div><br></div><div>Although I am not 100% sure this is a bug and not a feature, the attached patch fixes it. Please take a look.</div>
<div><br></div><div>Cheers,<br>Daniel</div><div><br></div><div><br></div>