r224012 - Emit warning if define or undef reserved identifier or keyword.
Joerg Sonnenberger
joerg at britannica.bec.de
Thu Dec 18 05:56:33 PST 2014
On Thu, Dec 18, 2014 at 05:33:11PM +0600, Serge Pavlov wrote:
> The solution still lacks support of an important case. As were noted, the
> pattern:
>
> #define inline
>
> is used in configuration scripts. It may convert inline function to global
> functions, linker will report duplicate definitions in this case.
Given that most inline users in C use it in combination with static, I
don't think it is that big a problem.
Joerg
More information about the cfe-commits
mailing list