From: Mehdi Amini Date: Thu, 3 Dec 2015 02:40:39 +0000 (+0000) Subject: Rename Set variable to be plural X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=2d8142d991ae58a7b3fc81c33ac1d18587676d96;p=oota-llvm.git Rename Set variable to be plural Thanks Sean Silva for catching this. From: Mehdi Amini git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254584 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/llvm-link/llvm-link.cpp b/tools/llvm-link/llvm-link.cpp index 39034aaf672..6f90f4056f7 100644 --- a/tools/llvm-link/llvm-link.cpp +++ b/tools/llvm-link/llvm-link.cpp @@ -198,10 +198,10 @@ static bool importFunctions(const char *argv0, LLVMContext &Context, } // Link in the specified function. - DenseSet FunctionToImport; - FunctionToImport.insert(F); + DenseSet FunctionsToImport; + FunctionsToImport.insert(F); if (L.linkInModule(*M, Linker::Flags::None, Index.get(), - &FunctionToImport)) + &FunctionsToImport)) return false; } return true;