diff options
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index a9a18d7930..12f9785742 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -344,13 +344,10 @@ class ConstantStruct : public Constant { friend struct ConstantCreator<ConstantStruct, StructType, std::vector<Constant*> >; ConstantStruct(const ConstantStruct &); // DO NOT IMPLEMENT + friend class LLVMContextImpl; protected: ConstantStruct(const StructType *T, const std::vector<Constant*> &Val); public: - /// get() - Static factory methods - Return objects of the specified value - /// - static Constant *get(const StructType *T, const std::vector<Constant*> &V); - /// Transparently provide more efficient getOperand methods. DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant); |