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 e8ecfa3bad..dfcc707b5e 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -305,6 +305,8 @@ protected:
return User::operator new(s, 0);
}
public:
+ static ConstantAggregateZero* get(const Type* Ty);
+
/// isNullValue - Return true if this is the value that would be returned by
/// getNullValue.
virtual bool isNullValue() const { return true; }