Make the assignment operator for SmallPtrSet return a reference, and fix a long-stand...
authorOwen Anderson <resistor@mac.com>
Mon, 9 Jul 2007 20:59:01 +0000 (20:59 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 9 Jul 2007 20:59:01 +0000 (20:59 +0000)
commit4d6f96d6997738419627ebe13dd6cb9c88a98fd7
tree8116cef12b5100e2ba0582c6cc9d5cbfeb73d50f
parentb42295df4da77a34519d0c49840a8b997d3f0b7c
Make the assignment operator for SmallPtrSet return a reference, and fix a long-standing bug in the copy
ctor while I'm at it.

Thanks to Chris Lattner for help with this patch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38470 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/SmallPtrSet.h
lib/Support/SmallPtrSet.cpp