mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Use SmallVectorImpl instead of SmallVector at the uses.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178386 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -75,7 +75,7 @@ namespace llvm {
|
||||
uint16_t getTag() const { return Tag; }
|
||||
unsigned getNumber() const { return Number; }
|
||||
uint16_t getChildrenFlag() const { return ChildrenFlag; }
|
||||
const SmallVector<DIEAbbrevData, 12> &getData() const { return Data; }
|
||||
const SmallVectorImpl<DIEAbbrevData> &getData() const { return Data; }
|
||||
void setTag(uint16_t T) { Tag = T; }
|
||||
void setChildrenFlag(uint16_t CF) { ChildrenFlag = CF; }
|
||||
void setNumber(unsigned N) { Number = N; }
|
||||
@@ -150,7 +150,7 @@ namespace llvm {
|
||||
unsigned getOffset() const { return Offset; }
|
||||
unsigned getSize() const { return Size; }
|
||||
const std::vector<DIE *> &getChildren() const { return Children; }
|
||||
const SmallVector<DIEValue*, 12> &getValues() const { return Values; }
|
||||
const SmallVectorImpl<DIEValue*> &getValues() const { return Values; }
|
||||
DIE *getParent() const { return Parent; }
|
||||
/// Climb up the parent chain to get the compile unit DIE this DIE belongs
|
||||
/// to.
|
||||
|
Reference in New Issue
Block a user