[cfe-dev] codegening constants
clattner at apple.com
Wed Aug 13 20:41:48 PDT 2008
On Aug 13, 2008, at 8:12 PM, Eli Friedman wrote:
> On Wed, Aug 13, 2008 at 4:17 PM, Nuno Lopes <nunoplopes at sapo.pt>
>> 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.
Yep, this change should not pass the regression test suite. Nuno, did
you test it?
More information about the cfe-dev