[cfe-commits] [patch] Warn on self assignment for member variables
Jordan Rose
jordan_rose at apple.com
Mon Jun 25 15:49:32 PDT 2012
On Jun 25, 2012, at 14:43 , Nico Weber <thakis at chromium.org> wrote:
> Full build of the 'chrome' target with this warning on my MBP: real 31m41.500s
> Same clang binary at the same revision, without the warning: real 31m53.572s
>
> So the compile-time impact of the warning is below noise I'd say.
>
> Nico
Did you remember to add a guard around the "work" part of CheckIdentityMemvarAssignment? Or were you still doing the work and just not emitting the warning?
("Same binary" always makes me wary.)
Jordan
More information about the cfe-commits
mailing list