summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGObjCGNU.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-14 16:47:36 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-14 16:47:36 +0000
commitfa159c144a63676c6795ca66a977ae68789870fc (patch)
tree1861425e855f6185353661a1ed39f74914128391 /clang/lib/CodeGen/CGObjCGNU.cpp
parentfee796d734ccd6cfb18b4b6a96c1f9dbda3e2d59 (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud