summaryrefslogtreecommitdiffstats
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
commite0538b9669149e1d29d6d9b0a5a6ff04f60273fe (patch)
tree0b700c6c3cb754d14a9d817c50103c9a8c15239e
parentfef37f81b4ef71c4102979551a9e58e43334c5c2 (diff)
downloadbcm5719-llvm-e0538b9669149e1d29d6d9b0a5a6ff04f60273fe.tar.gz
bcm5719-llvm-e0538b9669149e1d29d6d9b0a5a6ff04f60273fe.zip
ItaniumCXXABI.cpp: Don't use nullptr. Clang source tree should be pre-c++11-compatible.
llvm-svn: 153728
-rw-r--r--clang/lib/CodeGen/ItaniumCXXABI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/ItaniumCXXABI.cpp b/clang/lib/CodeGen/ItaniumCXXABI.cpp
index 8cce8c90a07..738a1832cc4 100644
--- a/clang/lib/CodeGen/ItaniumCXXABI.cpp
+++ b/clang/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) &&
OpenPOWER on IntegriCloud