[cfe-commits] r83328 - /cfe/trunk/lib/CodeGen/CodeGenModule.cpp

Daniel Dunbar daniel at zuster.org
Sat Oct 17 02:18:39 PDT 2009


On Mon, Oct 5, 2009 at 4:28 PM, Eric Christopher <echristo at apple.com> wrote:
>
> On Oct 5, 2009, at 4:21 PM, Mike Stump wrote:
>
>> On Oct 5, 2009, at 3:22 PM, Chris Lattner wrote:
>>> So long as it is guaranteed to be 8.  Does AlignedAttr really
>>> maintain its alignment in bits??
>>
>>  /// getAlignment - The specified alignment in bits.
>>  unsigned getAlignment() const { return Alignment; }
>>
>> :-)  Oh, the joy of it all.
>
> Hmm... might be good to have alignments in clang represented as bytes?
> (Addressable units?)

I personally like it that clang is relatively consistent about
representing size and alignment in bits (although its not my
invention).

 - Daniel

>
> -eric
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>




More information about the cfe-commits mailing list