summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-06-09 02:04:02 +0000
committerCraig Topper <craig.topper@gmail.com>2014-06-09 02:04:02 +0000
commit4b56692e3032a41e3a172905ff9407649cba004e (patch)
tree3af71753bc3cdddd90e73afbc6ef8fc9f78d7b15 /clang/lib/CodeGen/CodeGenModule.cpp
parentf61be9c971d20d1f30f5444e525990b78a71d65e (diff)
downloadbcm5719-llvm-4b56692e3032a41e3a172905ff9407649cba004e.tar.gz
bcm5719-llvm-4b56692e3032a41e3a172905ff9407649cba004e.zip
[C++11] Use 'nullptr'.
llvm-svn: 210448
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 9cb84f890af..b2d87db4880 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -563,7 +563,7 @@ void CodeGenModule::AddGlobalCtor(llvm::Function *Ctor, int Priority,
/// when the module is unloaded.
void CodeGenModule::AddGlobalDtor(llvm::Function *Dtor, int Priority) {
// FIXME: Type coercion of void()* types.
- GlobalDtors.push_back(Structor(Priority, Dtor, 0));
+ GlobalDtors.push_back(Structor(Priority, Dtor, nullptr));
}
void CodeGenModule::EmitCtorList(const CtorList &Fns, const char *GlobalName) {
OpenPOWER on IntegriCloud