aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2012-03-30 05:43:21 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2012-03-30 05:43:21 +0000
commit26945addf1660d2c54af7be57bc9adb7ccc50a24 (patch)
treeebac71e28c47389c8b2a7b524d9e58cfd5f803a1
parent96579c43e777b9dea81dc56c8074b3755df00e27 (diff)
ItaniumCXXABI.cpp: Don't use nullptr. Clang source tree should be pre-c++11-compatible.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@153728 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/ItaniumCXXABI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/ItaniumCXXABI.cpp b/lib/CodeGen/ItaniumCXXABI.cpp
index 8cce8c90a0..738a1832cc 100644
--- a/lib/CodeGen/ItaniumCXXABI.cpp
+++ b/lib/CodeGen/ItaniumCXXABI.cpp
@@ -1096,7 +1096,7 @@ void ItaniumCXXABI::EmitGuardedInit(CodeGenFunction &CGF,
// There are strange possibilities here involving the
// double-emission of constructors and destructors.
- llvm::GlobalVariable *guard = nullptr;
+ llvm::GlobalVariable *guard = 0;
if (llvm::GlobalValue *existingGuard
= CGM.getModule().getNamedValue(guardName.str())) {
if (isa<llvm::GlobalVariable>(existingGuard) &&