[llvm] r254584 - Rename Set variable to be plural
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 2 18:40:39 PST 2015
Author: mehdi_amini
Date: Wed Dec 2 20:40:39 2015
New Revision: 254584
URL: http://llvm.org/viewvc/llvm-project?rev=254584&view=rev
Log:
Rename Set variable to be plural
Thanks Sean Silva for catching this.
From: Mehdi Amini <mehdi.amini at apple.com>
Modified:
llvm/trunk/tools/llvm-link/llvm-link.cpp
Modified: llvm/trunk/tools/llvm-link/llvm-link.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-link/llvm-link.cpp?rev=254584&r1=254583&r2=254584&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-link/llvm-link.cpp (original)
+++ llvm/trunk/tools/llvm-link/llvm-link.cpp Wed Dec 2 20:40:39 2015
@@ -198,10 +198,10 @@ static bool importFunctions(const char *
}
// 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;
More information about the llvm-commits
mailing list