diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-04-15 06:32:26 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-04-15 06:32:26 +0000 |
| commit | 0b6cb7104b15504cd41f48cc2babcbcee70775f3 (patch) | |
| tree | 48f97597536aa35e8e2b80b8e25e049821ca7e13 /lib/Support/Debug.cpp | |
| parent | eb19b8f58b12532e736051fee46dcf2115a4888d (diff) | |
| download | llvm-0b6cb7104b15504cd41f48cc2babcbcee70775f3.tar.gz llvm-0b6cb7104b15504cd41f48cc2babcbcee70775f3.tar.bz2 llvm-0b6cb7104b15504cd41f48cc2babcbcee70775f3.tar.xz | |
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead of comparing to nullptr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206252 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Debug.cpp')
| -rw-r--r-- | lib/Support/Debug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Debug.cpp b/lib/Support/Debug.cpp index d9cb8a9da8..ad4d4ef1d9 100644 --- a/lib/Support/Debug.cpp +++ b/lib/Support/Debug.cpp @@ -109,7 +109,7 @@ raw_ostream &llvm::dbgs() { if (EnableDebugBuffering && DebugFlag && DebugBufferSize != 0) // TODO: Add a handler for SIGUSER1-type signals so the user can // force a debug dump. - sys::AddSignalHandler(&debug_user_sig_handler, 0); + sys::AddSignalHandler(&debug_user_sig_handler, nullptr); // Otherwise we've already set the debug stream buffer size to // zero, disabling buffering so it will output directly to errs(). } |
