[cfe-commits] PFR: Shared string literals

Devang Patel dpatel at apple.com
Tue Nov 27 09:30:06 PST 2007


>
On Nov 27, 2007, at 1:23 AM, Oliver Hunt wrote:

> Here's support for shared string literals, and -fwritable-string  
> (which causes us to not share literals and to not use constant  
> values for the literal storage)
>

Many times, -fwritable-string is used due to historical reasons. It   
is very useful to have diagnostic that can accurately identify  
literals that are not shared and do not use constant values.

> +  CodeGenModule *Init(ASTContext &Context, const LangOptions  
> &Features, llvm::Module &M,

80 colums :)

-
Devang



More information about the cfe-commits mailing list