Add missing newlines at EOF (for clang++).
[oota-llvm.git] / include / llvm / Constant.h
index bcaa56e3902b10e0ea8c6bd84eed3d4cd50c850c..8072fd9f498a1bbe6ba967bc28e638c5218533c7 100644 (file)
@@ -65,6 +65,10 @@ public:
   /// true for things like constant expressions that could divide by zero.
   bool canTrap() const;
 
+  /// isConstantUsed - Return true if the constant has users other than constant
+  /// exprs and other dangling things.
+  bool isConstantUsed() const;
+  
   enum PossibleRelocationsTy {
     NoRelocation = 0,
     LocalRelocation = 1,