> notice that a^=a actually does change the value. > We issue the warning only for |= and &= for this reason. The thes for ^= is there to make sure there's no diagnostic.
> I assume this diagnostic is automatically suppressed in the case that > we're really calling an overloaded operator|= or something, right? I've just tried this and self-assign warning is not issued for overloaded operators.
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
