r257357 - [Sema] Issue a warning for integer overflow in struct initializer

Joerg Sonnenberger via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 11 13:02:19 PST 2016

On Mon, Jan 11, 2016 at 12:28:36PM -0800, Akira Hatanaka via cfe-commits wrote:
> It triggers in dead branches and so does an initialization of an integer variable declared in a function.

I'm more interested in the case of global initialisers here. There is a
long standing history of not checking properly for dead branches, which
makes some code noisy for no good reason.


More information about the cfe-commits mailing list