[C++] Use 'nullptr'. Transforms edition.
[oota-llvm.git] / lib / Transforms / ObjCARC / DependencyAnalysis.cpp
index db8e4c32ad828f24027099ebec29d8a5e7a433a1..08c884293cc50a91345452ca4eea2c2a24f06d2a 100644 (file)
@@ -224,7 +224,7 @@ llvm::objcarc::FindDependencies(DependenceKind Flavor,
         pred_iterator PI(LocalStartBB), PE(LocalStartBB, false);
         if (PI == PE)
           // If we've reached the function entry, produce a null dependence.
-          DependingInsts.insert(0);
+          DependingInsts.insert(nullptr);
         else
           // Add the predecessors to the worklist.
           do {