[llvm-commits] [llvm] r50190 - /llvm/trunk/lib/Target/CppBackend/CPPBackend.cpp

Chris Lattner clattner at apple.com
Wed Apr 23 17:44:22 PDT 2008


On Apr 23, 2008, at 3:37 PM, Anton Korobeynikov wrote:

> Author: asl
> Date: Wed Apr 23 17:37:03 2008
> New Revision: 50190
>
> URL: http://llvm.org/viewvc/llvm-project?rev=50190&view=rev
> Log:
> Adjust option names for C++ backend

Hey Anton,

Maybe instead of having lots of options for llvm2cpp it should just  
emit one big dump file with #ifdefs around each piece.  Users can copy/ 
paste the code they want (if using llvm2cpp for pedagogic purposes),  
or #include the generated file with specific #defines set.  This is  
similar to how the tblgen intrinsic info emitter works.

Would that be reasonable/interesting?

-Chris



More information about the llvm-commits mailing list