[llvm-commits] [PATCH] remove unnecessary specialization of OperandTraits<>

Chris Lattner clattner at apple.com
Sat Jan 15 17:51:26 PST 2011


On Jan 15, 2011, at 5:43 AM, Jay Foad wrote:

> OperandTraits<> is always used with a concrete subclass of User. There
> is no need to specialize it for User itself.
> 
> Tested with "make check". I also tested a patch that only removed the
> out-of-line definitions of the methods declared in
> OperandTraits<User>, just to double-check that they weren't being used
> for anything.

Ok, please feel free to commit "obvious" patches like this.  Thanks for all the great work Jay!

-Chris



More information about the llvm-commits mailing list