[C++] Use 'nullptr'. Transforms edition.
[oota-llvm.git] / lib / Transforms / IPO / InlineSimple.cpp
index 27c9f52f9eaa1826167b95ab6a3912dbcd285e39..d189756032b6bf50762b87ab50d93bea55ecef6a 100644 (file)
@@ -38,12 +38,12 @@ class SimpleInliner : public Inliner {
   InlineCostAnalysis *ICA;
 
 public:
-  SimpleInliner() : Inliner(ID), ICA(0) {
+  SimpleInliner() : Inliner(ID), ICA(nullptr) {
     initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
   }
 
   SimpleInliner(int Threshold)
-      : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(0) {
+      : Inliner(ID, Threshold, /*InsertLifetime*/ true), ICA(nullptr) {
     initializeSimpleInlinerPass(*PassRegistry::getPassRegistry());
   }