On Wed, Jun 27, 2018 at 10:30 PM, Richard Smith via cfe-commits <cfe-commits@lists.llvm.org> wrote: > Author: rsmith > Date: Wed Jun 27 13:30:34 2018 > New Revision: 335781 > > URL: http://llvm.org/viewvc/llvm-project?rev=335781&view=rev > Log: > DR1687: When overload resolution selects a built-in operator, implicit > conversions are only applied to operands of class type, and the second > standard conversion sequence is not applied. > > When diagnosing an invalid builtin binary operator, talk about the > original types rather than the converted types. If these differ by a > user-defined conversion, tell the user what happened.
This also had the nice side-effect of making -Wconstant-logical-operand more powerful, finding three bugs in Chromium so far: https://crbug.com/857393 :-) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits