aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/LLVMContextImpl.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-10-12 00:15:27 +0000
committerDan Gohman <gohman@apple.com>2010-10-12 00:15:27 +0000
commit9b0e47efc607f6dcfca34e033d56e4655a7bb893 (patch)
treeb248d9afd1109d0db854c6077e0d79eb64dfce75 /lib/VMCore/LLVMContextImpl.cpp
parent8de206c10142c91b19eb5dcacfb0da97747dfb01 (diff)
downloadexternal_llvm-9b0e47efc607f6dcfca34e033d56e4655a7bb893.zip
external_llvm-9b0e47efc607f6dcfca34e033d56e4655a7bb893.tar.gz
external_llvm-9b0e47efc607f6dcfca34e033d56e4655a7bb893.tar.bz2
More SmallVectorImpls.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/LLVMContextImpl.cpp')
-rw-r--r--lib/VMCore/LLVMContextImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/LLVMContextImpl.cpp b/lib/VMCore/LLVMContextImpl.cpp
index b6430bb..ccb8dc5 100644
--- a/lib/VMCore/LLVMContextImpl.cpp
+++ b/lib/VMCore/LLVMContextImpl.cpp
@@ -101,7 +101,7 @@ LLVMContextImpl::~LLVMContextImpl() {
MDNodes.push_back(&*I);
}
MDNodes.append(NonUniquedMDNodes.begin(), NonUniquedMDNodes.end());
- for (SmallVector<MDNode*, 8>::iterator I = MDNodes.begin(),
+ for (SmallVectorImpl<MDNode *>::iterator I = MDNodes.begin(),
E = MDNodes.end(); I != E; ++I) {
(*I)->destroy();
}