[llvm-commits] patch: remove unused 'allocate' methods

Chris Lattner clattner at apple.com
Tue Jul 14 11:58:52 PDT 2009


On Jul 14, 2009, at 10:49 AM, Ryan Flynn wrote:

> remove 4 instances of unused 'allocate' method, 3 in
> include/llvm/OperandTraits.h and 1 in include/llvm/User.h
>
> not sure what these are supposed to be; maybe they're intended to be
> implemented later? there's no comment and they're not referenced
> anywhere.
>
> reviewing svn history the ones in OperandTraits.h appear to have been
> copied wholesale as new structs were created from the original
> VariadicOperandTraits struct.

Looks great, applied as r75664.  Thanks Ryan!

-Chris



More information about the llvm-commits mailing list