Rename Set variable to be plural
[oota-llvm.git] / tools / llvm-link / llvm-link.cpp
index 39034aaf672c991b187e2eb833271a4e4176d671..6f90f4056f70dca9bd0aea930683f96007c77567 100644 (file)
@@ -198,10 +198,10 @@ static bool importFunctions(const char *argv0, LLVMContext &Context,
     }
 
     // Link in the specified function.
-    DenseSet<const GlobalValue *> FunctionToImport;
-    FunctionToImport.insert(F);
+    DenseSet<const GlobalValue *> FunctionsToImport;
+    FunctionsToImport.insert(F);
     if (L.linkInModule(*M, Linker::Flags::None, Index.get(),
-                       &FunctionToImport))
+                       &FunctionsToImport))
       return false;
   }
   return true;