Add tests for WeakVH and AssertingVH. These pointed out that the overloads for
commitc6c47d263dc0c132ada1155b20eb832cd0bdb0e8
authorJeffrey Yasskin <jyasskin@google.com>
Mon, 27 Apr 2009 20:32:07 +0000 (27 20:32 +0000)
committerJeffrey Yasskin <jyasskin@google.com>
Mon, 27 Apr 2009 20:32:07 +0000 (27 20:32 +0000)
treebb40029cbd300931ba6a6ef01952c7bbe4939bde
parenta9dba968259e1bf3c400d2578cda0def65800923
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]