[cfe-commits] Implement 'mutable'
sebastian.redl at getdesigned.at
Thu Nov 13 13:02:41 PST 2008
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.
More information about the cfe-commits