[cfe-dev] Splitting up CGCXX.cpp

Anders Carlsson andersca at mac.com
Tue Sep 1 11:44:12 PDT 2009

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  


More information about the cfe-dev mailing list