[cfe-dev] codegening constants

Eli Friedman eli.friedman at gmail.com
Wed Aug 13 20:12:45 PDT 2008

On Wed, Aug 13, 2008 at 4:17 PM, Nuno Lopes <nunoplopes at sapo.pt> wrote:
> 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! :)

The getAsArrayType* methods were moved to ASTContext for a reason...
you shouldn't be moving them back.


More information about the cfe-dev mailing list