diff options
author | Eric Christopher <echristo@gmail.com> | 2013-03-29 23:34:06 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-03-29 23:34:06 +0000 |
commit | f7cef7081b2e09b48d47263e391db2390dddf5e8 (patch) | |
tree | b077db56321007ec2afb3edaad129a2baf1972ea /lib/CodeGen/AsmPrinter/DIE.h | |
parent | d696544eacbab22277924bc5f5acd85f615f31ea (diff) | |
download | llvm-f7cef7081b2e09b48d47263e391db2390dddf5e8.tar.gz llvm-f7cef7081b2e09b48d47263e391db2390dddf5e8.tar.bz2 llvm-f7cef7081b2e09b48d47263e391db2390dddf5e8.tar.xz |
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
Diffstat (limited to 'lib/CodeGen/AsmPrinter/DIE.h')
-rw-r--r-- | lib/CodeGen/AsmPrinter/DIE.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index cc3ebbd5d5..18b6966e18 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -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. |