[LLVMdev] Cloning Function-objects

Bram Adams bram.adams at ugent.be
Thu Sep 21 12:34:43 PDT 2006


What's the best way to clone a Function (deep copy, not shallow)?  
Apparently only Instruction-classes feature a clone()-method, and  
there is no dedicated copy constructor/operator= for Function either.

Kind regards,

Bram Adams
GH-SEL, INTEC, Ghent University

More information about the llvm-dev mailing list