Daniel Dunbar wrote:
> Not sure if this is what Doug meant, but instead of "splitting" this
> is probably a good candidate to just replace the mouthful with %0 and
> supply the appropriate value at run time.
>   
Nah, 'reference' is not a language keyword, so the message wouldn't be 
localizable. I could make one diagnostic for non-const and non-static, 
but the static/mutable mismatch is detected by the parser, so the 
"non-static" violation is never reported by the sema.

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to