On Mon, Oct 1, 2012 at 9:46 AM, Hans Wennborg <[email protected]> wrote:
> On Sat, Sep 29, 2012 at 3:44 AM, Richard Trieu <[email protected]> wrote: > > Do a little cleaning for the self reference visitor. > > -Allow Sema to do more processing on the initial Expr before checking it. > > -Remove the special conditions in HandleExpr() > > -Move the code so that only one call site is needed. > > -Removed the function from Sema and only call it locally. > > -Warn on potentially evaluated reference variables, not just those cast > to > > r-values. > > -Update tests. > > > > This new version will catch the following cases: > > int &a(a); > > int &a{a}; > > int a(a); > > int a{a}; > > Awesome, thanks for fixing! > > - Hans > r164951
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
