diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-07-14 16:47:36 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-07-14 16:47:36 +0000 |
commit | fa159c144a63676c6795ca66a977ae68789870fc (patch) | |
tree | 1861425e855f6185353661a1ed39f74914128391 /clang/lib/CodeGen/CGObjCGNU.cpp | |
parent | fee796d734ccd6cfb18b4b6a96c1f9dbda3e2d59 (diff) | |
download | bcm5719-llvm-fa159c144a63676c6795ca66a977ae68789870fc.tar.gz bcm5719-llvm-fa159c144a63676c6795ca66a977ae68789870fc.zip |
Use SmallVectorImpl& instead of SmallVector to avoid repeating small vector size.
llvm-svn: 186284
Diffstat (limited to 'clang/lib/CodeGen/CGObjCGNU.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjCGNU.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjCGNU.cpp b/clang/lib/CodeGen/CGObjCGNU.cpp index fbf8a1abb01..2fd379d55d2 100644 --- a/clang/lib/CodeGen/CGObjCGNU.cpp +++ b/clang/lib/CodeGen/CGObjCGNU.cpp @@ -1041,7 +1041,7 @@ llvm::Value *CGObjCGNU::EmitNSAutoreleasePoolClassRef(CodeGenFunction &CGF) { llvm::Value *CGObjCGNU::GetSelector(CodeGenFunction &CGF, Selector Sel, const std::string &TypeEncoding, bool lval) { - SmallVector<TypedSelector, 2> &Types = SelectorTable[Sel]; + SmallVectorImpl<TypedSelector> &Types = SelectorTable[Sel]; llvm::GlobalAlias *SelValue = 0; |