diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-21 20:55:28 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-21 20:55:28 +0000 |
commit | 822ccd9974a17979d2cb9c6c118f94549055b7d4 (patch) | |
tree | 66b5ecb11b41613c409a726addc82dd054c9de70 /include/llvm/Constants.h | |
parent | f6fa8ae267e0320dcee609b6bb4061bde3b62ba4 (diff) | |
download | llvm-822ccd9974a17979d2cb9c6c118f94549055b7d4.tar.gz llvm-822ccd9974a17979d2cb9c6c118f94549055b7d4.tar.bz2 llvm-822ccd9974a17979d2cb9c6c118f94549055b7d4.tar.xz |
Privatize the ConstantArray table.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76639 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 4ef680cc03..3bf8b142ab 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -286,12 +286,10 @@ class ConstantArray : public Constant { friend struct ConstantCreator<ConstantArray, ArrayType, std::vector<Constant*> >; ConstantArray(const ConstantArray &); // DO NOT IMPLEMENT + friend class LLVMContextImpl; protected: ConstantArray(const ArrayType *T, const std::vector<Constant*> &Val); public: - /// get() - Static factory methods - Return objects of the specified value - static Constant *get(const ArrayType *T, const std::vector<Constant*> &); - /// Transparently provide more efficient getOperand methods. DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant); |