[cfe-commits] r153728 - /cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Thu Mar 29 22:43:21 PDT 2012
Author: chapuni
Date: Fri Mar 30 00:43:21 2012
New Revision: 153728
URL: http://llvm.org/viewvc/llvm-project?rev=153728&view=rev
Log:
ItaniumCXXABI.cpp: Don't use nullptr. Clang source tree should be pre-c++11-compatible.
Modified:
cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
Modified: cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp?rev=153728&r1=153727&r2=153728&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp (original)
+++ cfe/trunk/lib/CodeGen/ItaniumCXXABI.cpp Fri Mar 30 00:43:21 2012
@@ -1096,7 +1096,7 @@
// 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) &&
More information about the cfe-commits
mailing list