[cfe-dev] patch for generalizing stdint for n-bit bytes

Daniel Dunbar daniel at zuster.org
Mon Oct 19 14:48:08 PDT 2009


On Mon, Oct 19, 2009 at 11:30 AM, Ken Dyck <Ken.Dyck at onsemi.com> wrote:
> On Saturday, October 17, 2009 8:17 PM, Ray wrote:
>> This patch generalizes some of the defines produced by the
>> preprocessor in preparation for future patches to support of
>> n-bit bytes.
>
> Specifically, it adds support to stdint.h for all mutiple-of-8 integer
> widths up to 64 bits, where it previously only supported 8-, 16-, 32-
> and 64-bit widths.
>
>> Some other highlights include the addition of 40 new test
>> cases that help better validate the preprocessor and target
>> defines.  It also gets rid of std::vector<char> in favor of
>> llvm::raw_ostream to create defines.
>
> If it helps, I'd be happy to separate the new test cases and the
> raw_ostream conversion into separate patches.

Hi Ken,

Yes, that would probably be very helpful!

 - Daniel




More information about the cfe-dev mailing list