[cfe-dev] accessibility of codegen headers
Chris Lattner
clattner at apple.com
Wed Jun 16 17:40:50 PDT 2010
On Jun 16, 2010, at 2:45 PM, Jochen Wilhelmy wrote:
> Hi!
>
> is it possible to move the following headers into the include directory:
>
> CodeGenTypes.h
> CodeGenModule.h
> CGRecordLayout.h
>
> I use them to extract some infos (layout of records) while compiling.
> Currently I have to set
> an include directory into the clang/lib/CodeGen directory which of course
> is a hack.
What are you using these for? They should be private implementation details of the IR generation module. The layout information for structs is known in the AST level.
-Chris
More information about the cfe-dev
mailing list