SE-0022: Address Jordan's review comments about #selector.

This commit is contained in:
Doug Gregor
2016-01-28 12:09:57 -08:00
parent 0a359424d7
commit 9a0241bb3b
10 changed files with 40 additions and 24 deletions

View File

@@ -930,7 +930,8 @@ public:
/// A mapping from Objective-C selectors to the methods that have
/// those selectors.
llvm::DenseMap<ObjCSelector, std::vector<AbstractFunctionDecl *>> ObjCMethods;
llvm::DenseMap<ObjCSelector, llvm::TinyPtrVector<AbstractFunctionDecl *>>
ObjCMethods;
template <typename T>
using OperatorMap = llvm::DenseMap<Identifier,llvm::PointerIntPair<T,1,bool>>;