mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Use the most basic superclass of SmallVector in ArrayRef.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155760 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b10dae0bf
commit
1dd346ad05
@ -60,7 +60,7 @@ namespace llvm {
|
||||
: Data(begin), Length(end - begin) {}
|
||||
|
||||
/// Construct an ArrayRef from a SmallVector.
|
||||
/*implicit*/ ArrayRef(const SmallVectorImpl<T> &Vec)
|
||||
/*implicit*/ ArrayRef(const SmallVectorTemplateCommon<T> &Vec)
|
||||
: Data(Vec.data()), Length(Vec.size()) {}
|
||||
|
||||
/// Construct an ArrayRef from a std::vector.
|
||||
|
Loading…
Reference in New Issue
Block a user