YEs, we really do want to sort.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2810 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-06-30 16:20:02 +00:00
parent b4aef1746a
commit c5d4493041

View File

@ -66,7 +66,7 @@ static inline std::auto_ptr<Module> LoadFile(const std::string &FN) {
if (Verbose) {
cerr << "Error opening bytecode file: '" << Filename << "'";
if (ErrorMessage.size()) cerr << ": " << ErrorMessage;
cerr << std::endl;
cerr << "\n";
}
if (NextLibPathIdx == LibPaths.size()) break;
@ -93,7 +93,7 @@ int main(int argc, char **argv) {
if (!Libraries.empty()) {
// Sort libraries list...
//sort(Libraries.begin(), Libraries.end());
std::sort(Libraries.begin(), Libraries.end());
// Remove duplicate libraries entries...
Libraries.erase(unique(Libraries.begin(), Libraries.end()),