Thanks Richard. I've committed this after making a few tweaks in r128376. For reference, the tweaks I made were: - Moved under -Wuninitialized and grouped the warning appropriately for that - Slightly tweaked the wording to flow better and match existing uninitialized warnings' wording - Only underline the identifier rather than the entire declaration. I think this looks a bit better and should avoid issues in cases like:
int x, y = y + 2; - Some formatting tweaks here and there. On Tue, Mar 22, 2011 at 6:43 PM, Richard Trieu <[email protected]> wrote: > Add a warning on variable initialization which references its own value. > Non-evaluated expressions, such as address of or size of operations, are > not warned on. > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
