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
/
Support
/
CrashRecoveryContext.h
diff --git
a/include/llvm/Support/CrashRecoveryContext.h
b/include/llvm/Support/CrashRecoveryContext.h
index e83695ad5b7e1435501c9dc9680a0377244bc863..1a1c74368761d729c8d60d76260425618388cb24 100644
(file)
--- a/
include/llvm/Support/CrashRecoveryContext.h
+++ b/
include/llvm/Support/CrashRecoveryContext.h
@@
-137,7
+137,7
@@
public:
if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent())
return new DERIVED(context, x);
}
if (CrashRecoveryContext *context = CrashRecoveryContext::GetCurrent())
return new DERIVED(context, x);
}
- return
0
;
+ return
nullptr
;
}
};
}
};
@@
-195,9
+195,9
@@
public:
void unregister() {
if (cleanup && !cleanup->cleanupFired)
cleanup->getContext()->unregisterCleanup(cleanup);
void unregister() {
if (cleanup && !cleanup->cleanupFired)
cleanup->getContext()->unregisterCleanup(cleanup);
- cleanup =
0
;
+ cleanup =
nullptr
;
}
};
}
};
-}
+}
// end namespace llvm
-#endif
+#endif
// LLVM_SUPPORT_CRASHRECOVERYCONTEXT_H