r226178 - PR 20146

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jan 21 09:35:16 PST 2015


On Thu, Jan 15, 2015 at 04:45:53PM -0000, Nathan Sidwell wrote:
> Author: nathan
> Date: Thu Jan 15 10:45:53 2015
> New Revision: 226178
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=226178&view=rev
> Log:
> PR 20146
> reject CV void return type on C definitions per 6.9.1/3

This breaks code using "volatile void" to mark functions as no-return,
an oldish GCC extension. This is still somewhat popular in old code. Do
we really want to / have to create a hard error for this?

Joerg



More information about the cfe-commits mailing list