summaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/Signals.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Support/Signals.h')
-rw-r--r--include/llvm/Support/Signals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/Signals.h b/include/llvm/Support/Signals.h
index 58ed175..6cbc1f6 100644
--- a/include/llvm/Support/Signals.h
+++ b/include/llvm/Support/Signals.h
@@ -28,7 +28,7 @@ namespace sys {
/// This function registers signal handlers to ensure that if a signal gets
/// delivered that the named file is removed.
/// @brief Remove a file if a fatal signal occurs.
- bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = 0);
+ bool RemoveFileOnSignal(StringRef Filename, std::string* ErrMsg = nullptr);
/// This function removes a file from the list of files to be removed on
/// signal delivery.