mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +00:00
Remove the last unspecified_bool_type from llvm.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210076 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d5fe32ebf
commit
dacea252b5
@ -177,10 +177,7 @@ public:
|
||||
|
||||
T* getPtr() const { return Obj; }
|
||||
|
||||
typedef T* (IntrusiveRefCntPtr::*unspecified_bool_type) () const;
|
||||
operator unspecified_bool_type() const {
|
||||
return Obj ? &IntrusiveRefCntPtr::getPtr : nullptr;
|
||||
}
|
||||
LLVM_EXPLICIT operator bool() const { return Obj; }
|
||||
|
||||
void swap(IntrusiveRefCntPtr& other) {
|
||||
T* tmp = other.Obj;
|
||||
|
Loading…
Reference in New Issue
Block a user