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

Ryan Flynn parseerror at gmail.com
Tue Jul 14 10:49:13 PDT 2009


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.

if these are intended to be implemented someday perhaps they could be
commented and changed from FIXME to TODO...

Ryan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-unused-allocate.patch
Type: application/octet-stream
Size: 1200 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090714/4ebe55f7/attachment.obj>


More information about the llvm-commits mailing list