Hi all, The attached patch makes Clang warn about self-initialization of references, like:
int &a = a; Because that seems like a bad thing to do, and I don't think we should suppress it like we do with "int x = x" which is a common way of avoiding warnings about unused variables. Please take a look. Thanks, Hans
self_init_refs.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
