[llvm-commits] Code refactoring of MCELFStreamer.cpp and ELFObjectWriter.cpp

Rafael Avila de Espindola rafael.espindola at gmail.com
Fri Feb 25 11:46:10 PST 2011


On 11-02-25 12:02 PM, Jan Sjodin wrote:
> Removed duplicated code by putting shared functions in MCELF.h/cpp and made the
> rest of the C-style static functions static methods in the corresponding
> classes.

Moving the duplicated functions to a new file is OK, but why convert the 
function only used in the ELFObjectWriter to static methods?

> - Jan

Cheers,
Rafael



More information about the llvm-commits mailing list