diff include/llvm/Analysis/SparsePropagation.h @ 77:54457678186b

LLVM 3.6
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Mon, 08 Sep 2014 22:06:00 +0900
parents 95c75e76d11b
children 60c9769439b8
line wrap: on
line diff
--- a/include/llvm/Analysis/SparsePropagation.h	Thu Dec 12 15:22:36 2013 +0900
+++ b/include/llvm/Analysis/SparsePropagation.h	Mon Sep 08 22:06:00 2014 +0900
@@ -82,7 +82,7 @@
   /// constant value, return it.  Otherwise return null.  The returned value
   /// must be in the same LLVM type as Val.
   virtual Constant *GetConstant(LatticeVal LV, Value *Val, SparseSolver &SS) {
-    return 0;
+    return nullptr;
   }
 
   /// ComputeArgument - Given a formal argument value, compute and return a