[patches] Alternatives for static functions in extern C contexts

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Feb 22 05:58:44 PST 2013


> If someone can present evidence that there is a *significant* quantity of
> code which would be broken by a correct implementation of the language
> linkage rules, then I'll be happy to take that back to core and fight harder
> for a language change, and (much as I dislike this option) we should be
> pragmatic and deviate from the current standard no matter what core decides.
> If we can't find such evidence, then I see no reason to deviate from the
> standard.

We are probably 3 or 4 months away from 3.3, so maybe we can commit
mangle_static_extern_c.patch as an experiment? We have enough people
following llvm trunk that we should be able to find out how common
this is.

Cheers,
Rafale



More information about the cfe-commits mailing list