Do a little cleaning for the self reference visitor.<div>-Allow Sema to do more processing on the initial Expr before checking it.</div><div>-Remove the special conditions in HandleExpr()</div><div>-Move the code so that only one call site is needed.</div>
<div>-Removed the function from Sema and only call it locally.</div><div>-Warn on potentially evaluated reference variables, not just those cast to r-values.</div><div>-Update tests.</div><div><div><br></div><div>This new version will catch the following cases:</div>
<div>int &a(a);</div><div>int &a{a};</div><div>int a(a);</div><div>int a{a};</div></div>