projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[C++11] More 'nullptr' conversion. In some cases just using a boolean check instead...
[oota-llvm.git]
/
include
/
llvm
/
IR
/
PredIteratorCache.h
diff --git
a/include/llvm/IR/PredIteratorCache.h
b/include/llvm/IR/PredIteratorCache.h
index bf18dfeb20b3145ec7c3d56043378f8100ccd1a8..02bc583a255ab906271a751cb49a533113a6762f 100644
(file)
--- a/
include/llvm/IR/PredIteratorCache.h
+++ b/
include/llvm/IR/PredIteratorCache.h
@@
-44,7
+44,7
@@
namespace llvm {
if (Entry) return Entry;
SmallVector<BasicBlock*, 32> PredCache(pred_begin(BB), pred_end(BB));
- PredCache.push_back(
0
); // null terminator.
+ PredCache.push_back(
nullptr
); // null terminator.
BlockToPredCountMap[BB] = PredCache.size()-1;