projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix Clang-tidy modernize-use-nullptr warnings in examples and include directories...
[oota-llvm.git]
/
include
/
llvm
/
ADT
/
IntrusiveRefCntPtr.h
diff --git
a/include/llvm/ADT/IntrusiveRefCntPtr.h
b/include/llvm/ADT/IntrusiveRefCntPtr.h
index 65b2da793d7c8491aa6e3f31bad3e4e6f58ac72f..8057ec10be00953e5ffcb3a1d6d857a85e9eefd0 100644
(file)
--- a/
include/llvm/ADT/IntrusiveRefCntPtr.h
+++ b/
include/llvm/ADT/IntrusiveRefCntPtr.h
@@
-154,7
+154,7
@@
public:
template <class X>
IntrusiveRefCntPtr(IntrusiveRefCntPtr<X>&& S) : Obj(S.get()) {
- S.Obj =
0
;
+ S.Obj =
nullptr
;
}
template <class X>
@@
-190,7
+190,7
@@
public:
}
void resetWithoutRelease() {
- Obj =
0
;
+ Obj =
nullptr
;
}
private: