mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-03 15:26:18 +00:00
Replace the existing forms of ConstantArray::get() with a single form
that takes an ArrayRef. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133615 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -350,9 +350,7 @@ protected:
|
||||
ConstantArray(const ArrayType *T, const std::vector<Constant*> &Val);
|
||||
public:
|
||||
// ConstantArray accessors
|
||||
static Constant *get(const ArrayType *T, const std::vector<Constant*> &V);
|
||||
static Constant *get(const ArrayType *T, Constant *const *Vals,
|
||||
unsigned NumVals);
|
||||
static Constant *get(const ArrayType *T, ArrayRef<Constant*> V);
|
||||
|
||||
/// This method constructs a ConstantArray and initializes it with a text
|
||||
/// string. The default behavior (AddNull==true) causes a null terminator to
|
||||
|
Reference in New Issue
Block a user