mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-04 21:30:49 +00:00
add a converting operator
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68158 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
46e7740a44
commit
b160f5d36d
@ -123,6 +123,9 @@ public:
|
||||
WeakVH(const WeakVH &RHS)
|
||||
: ValueHandleBase(Weak, RHS) {}
|
||||
|
||||
operator Value*() const {
|
||||
return getValPtr();
|
||||
}
|
||||
};
|
||||
|
||||
/// AssertingVH - This is a Value Handle that points to a value and asserts out
|
||||
|
Loading…
Reference in New Issue
Block a user