aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bitcode/Writer/ValueEnumerator.h
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-11 16:22:38 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-11 16:22:38 +0000
commit9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4 (patch)
treef4aa87a04af2f69d097f9c9ed386fa833cabac39 /lib/Bitcode/Writer/ValueEnumerator.h
parent73480481f4ebe05e0b0f7d5eabd8f8f34b6823f1 (diff)
downloadexternal_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.zip
external_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.tar.gz
external_llvm-9e639e8fd95488cb4c8ef2f7f3a41919acb29ac4.tar.bz2
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186098 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode/Writer/ValueEnumerator.h')
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bitcode/Writer/ValueEnumerator.h b/lib/Bitcode/Writer/ValueEnumerator.h
index 0af6164..d1ca15f 100644
--- a/lib/Bitcode/Writer/ValueEnumerator.h
+++ b/lib/Bitcode/Writer/ValueEnumerator.h
@@ -125,7 +125,7 @@ public:
const ValueList &getValues() const { return Values; }
const ValueList &getMDValues() const { return MDValues; }
- const SmallVector<const MDNode *, 8> &getFunctionLocalMDValues() const {
+ const SmallVectorImpl<const MDNode *> &getFunctionLocalMDValues() const {
return FunctionLocalMDs;
}
const TypeList &getTypes() const { return Types; }