summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/CodeGeneration.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2014-11-14 11:12:31 +0000
committerTobias Grosser <tobias@grosser.es>2014-11-14 11:12:31 +0000
commitc98a8fccf7ae165041d4cfd27a398960e66d839a (patch)
tree467247a60d208b30ab72cb3110631d6db835663e /polly/lib/CodeGen/CodeGeneration.cpp
parent734d52b58bf3056a91e16c866da00f5b49e40098 (diff)
downloadbcm5719-llvm-c98a8fccf7ae165041d4cfd27a398960e66d839a.tar.gz
bcm5719-llvm-c98a8fccf7ae165041d4cfd27a398960e66d839a.zip
Use nullptr instead of '0' for pointers
llvm-svn: 221982
Diffstat (limited to 'polly/lib/CodeGen/CodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/CodeGeneration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp
index d58d40d2ac5..d1b1709cafe 100644
--- a/polly/lib/CodeGen/CodeGeneration.cpp
+++ b/polly/lib/CodeGen/CodeGeneration.cpp
@@ -762,7 +762,7 @@ void ClastStmtCodeGen::codegenForGPGPU(const clast_for *F) {
BasicBlock::iterator AfterLoop = Builder.GetInsertPoint();
Builder.SetInsertPoint(LoopBody);
- BasicBlock *AfterBB = 0;
+ BasicBlock *AfterBB = nullptr;
if (NonPLoopDepth) {
Value *LowerBound, *UpperBound, *IV, *Stride;
Type *IntPtrTy = getIntPtrTy();
OpenPOWER on IntegriCloud