diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index fbb7a42f5db..324f5061208 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -402,9 +402,12 @@ protected: ConstantStruct(const StructType *T, const std::vector &Val); public: /// get() - Static factory methods - Return objects of the specified value + /// static Constant *get(const StructType *T, const std::vector &V); + static Constant *get(const std::vector &V); /// getType() specialization - Reduce amount of casting... + /// inline const StructType *getType() const { return reinterpret_cast(Value::getType()); }