[cfe-dev] Do string literals have global storage?

Eli Friedman eli.friedman at gmail.com
Sat Aug 29 11:24:04 PDT 2009


On Sat, Aug 29, 2009 at 5:12 AM, Enea Zaffanella<zaffanella at cs.unipr.it> wrote:
> Hello.
>
> I just noticed that method
>
>   bool Expr::hasGlobalStorage()
>
> seems to return false when fed with a StringLiteral.
> Is this a bug?

Yes, I suppose... considering that hardly anything uses it, though, we
should probably just get rid of it.

-Eli




More information about the cfe-dev mailing list