[cfe-dev] codegening constants

Nuno Lopes nunoplopes at sapo.pt
Wed Aug 13 16:17:43 PDT 2008


Hi,

I've noticed that currently clang's codegen isn't marking some consts as 
llvm constants (e.g. const char[] = "foo").
The attached patch fixes just that. As it adds some methods to QualType and 
Type classes, I'm sending to the list to get approval before commit. So 
please comment on it! :)

Thanks,
Nuno 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: clang_emit_const.txt
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080814/f3308d52/attachment.txt>


More information about the cfe-dev mailing list