Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.

llvm-svn: 215869
This commit is contained in:
Craig Topper
2014-08-17 23:49:53 +00:00
parent 5229cfd163
commit 4dd9b43c8d
9 changed files with 25 additions and 25 deletions

View File

@@ -249,7 +249,7 @@ ModuleManager::~ModuleManager() {
void
ModuleManager::visit(bool (*Visitor)(ModuleFile &M, void *UserData),
void *UserData,
llvm::SmallPtrSet<ModuleFile *, 4> *ModuleFilesHit) {
llvm::SmallPtrSetImpl<ModuleFile *> *ModuleFilesHit) {
// If the visitation order vector is the wrong size, recompute the order.
if (VisitOrder.size() != Chain.size()) {
unsigned N = size();