Add tests for WeakVH and AssertingVH. These pointed out that the overloads for
authorJeffrey Yasskin <jyasskin@google.com>
Mon, 27 Apr 2009 20:32:07 +0000 (20:32 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Mon, 27 Apr 2009 20:32:07 +0000 (20:32 +0000)
commit487fa01673a1d13331b7173e9e6812e72dd4361e
treebb40029cbd300931ba6a6ef01952c7bbe4939bde
parent01ecca20bf0f35d1fb464f098ac4bacbfeb06735
Add tests for WeakVH and AssertingVH.  These pointed out that the overloads for
the comparison operators were not only unnecessary in the presence of the
implicit conversion; they caused ambiguous overload errors. So I deleted them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70243 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/ValueHandle.h
unittests/Support/ValueHandleTest.cpp [new file with mode: 0644]