[cfe-dev] little bug: comments swapped

Daniel Dunbar daniel at zuster.org
Tue Apr 27 07:53:13 PDT 2010


On Tue, Apr 27, 2010 at 1:42 AM, Jochen Wilhelmy <j.wilhelmy at arcor.de> wrote:
> Hi!
>
> in CGRecordLayout.h
> the comments for
>
> unsigned getLLVMFieldNo(const FieldDecl *FD) const
> and
> const CGBitFieldInfo &getBitFieldInfo(const FieldDecl *FD) const
>
> are swapped.

Fixed.

> It seems CGRecordLayout contains the info I need,
> is there a way to access it after compilation to LLVM IR?

I don't have enough context. If you have access to a CodeGenTypes
instance, you can ask it for the record layouts. You haven't said what
you are trying to do. :)

 - Daniel

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



More information about the cfe-dev mailing list