aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 1a4ebda..dd7147e 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -47,6 +47,8 @@ public:
// getNullConstant.
virtual bool isNullValue() const = 0;
+ virtual void print(std::ostream &O) const;
+
// Methods for support type inquiry through isa, cast, and dyn_cast:
static inline bool classof(const Constant *) { return true; }
static inline bool classof(const Value *V) {