summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorJay Foad <jay.foad@gmail.com>2011-06-22 09:10:19 +0000
committerJay Foad <jay.foad@gmail.com>2011-06-22 09:10:19 +0000
commita0c138429e101f573d43740322245c1d5b8b04a0 (patch)
treec23f47b278a6e5397caf3771ee18b07bbf0c5c5a /include/llvm/Constants.h
parent3e8cff47a797e9aca732ce31b0aef0f262deb050 (diff)
downloadllvm-a0c138429e101f573d43740322245c1d5b8b04a0.tar.gz
llvm-a0c138429e101f573d43740322245c1d5b8b04a0.tar.bz2
llvm-a0c138429e101f573d43740322245c1d5b8b04a0.tar.xz
Make ConstantVector::get() always take an ArrayRef, never a std::vector.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133614 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 268f920ad7..aa3096022b 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -491,8 +491,6 @@ protected:
public:
// ConstantVector accessors
static Constant *get(ArrayRef<Constant*> V);
- // FIXME: Eliminate this constructor form.
- static Constant *get(const VectorType *T, const std::vector<Constant*> &V);
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);