aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Mutex.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-04-07 04:17:22 +0000
committerCraig Topper <craig.topper@gmail.com>2014-04-07 04:17:22 +0000
commitc10719f55d3babe47ce754ad4e4964c7cd90d6e8 (patch)
tree28574fe7c646e03e6660387f3595f098d75fcd3f /llvm/lib/Support/Mutex.cpp
parent093edf8c7f4d44979376892303d101f02924c68f (diff)
downloadllvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.zip
llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.tar.gz
llvm-c10719f55d3babe47ce754ad4e4964c7cd90d6e8.tar.bz2
[C++11] Make use of 'nullptr' in the Support library.
llvm-svn: 205697
Diffstat (limited to 'llvm/lib/Support/Mutex.cpp')
-rw-r--r--llvm/lib/Support/Mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Mutex.cpp b/llvm/lib/Support/Mutex.cpp
index 37c9d73..292d32a 100644
--- a/llvm/lib/Support/Mutex.cpp
+++ b/llvm/lib/Support/Mutex.cpp
@@ -42,7 +42,7 @@ using namespace sys;
// Construct a Mutex using pthread calls
MutexImpl::MutexImpl( bool recursive)
- : data_(0)
+ : data_(nullptr)
{
// Declare the pthread_mutex data structures
pthread_mutex_t* mutex =