Hi all,

There are passes "remove-unused-function", "remove-unused-var", and 
"remove-unused-field"
in creduce, but I haven't found anything like "remove-unused-class" or 
"remove-unused-template".

I think such passes could be useful on earlier stages of reduction then 
existing "remove-unused-*"
passes, because they can eliminate potentially larger chuncks of code, 
especially when template
libraries like STL are used in translation unit.

-- 
Regards,
Konstantin

Reply via email to