[cfe-dev] Splitting up CGCXX.cpp

Chris Lattner clattner at apple.com
Tue Sep 1 13:04:37 PDT 2009

On Sep 1, 2009, at 11:44 AM, Anders Carlsson wrote:

> So the CGCXX.cpp file is growing large and unwieldy, and I think it's
> time to split it into multiple files. My thinking is:
> CGExprCXX.cpp - Expressions
> CGDeclCXX.cpp - Declarations
> CGClassCXX.cpp - Class related code generation (ctors, dtors,
> assignment operators etc)
> CGVTableCXX.cpp - VTable related code generation
> Sound good? I'm not saying that we should split everything up
> immediately but that we can migrate code over to these new files when
> necessary.

Sounds good to me, I prefer logical decomposition,


More information about the cfe-dev mailing list