llvm.org GIT mirror llvm / 45178b9
Implement one operator== with another. Thanks for David Blaikie for the suggestion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210107 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 6 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
247247
248248 template
249249 bool operator==(const IntrusiveRefCntPtr &A, std::nullptr_t B) {
250 return !A;
250 return B == A;
251251 }
252252
253253 template