From f976c856fcc5055f3fc7d9f070d72c2d027c1d9d Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Thu, 21 Apr 2005 22:55:34 +0000 Subject: Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21422 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Linker/LinkItems.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'lib/Linker/LinkItems.cpp') diff --git a/lib/Linker/LinkItems.cpp b/lib/Linker/LinkItems.cpp index b3fb5b00cf..34677ce365 100644 --- a/lib/Linker/LinkItems.cpp +++ b/lib/Linker/LinkItems.cpp @@ -1,10 +1,10 @@ //===- lib/Linker/LinkItems.cpp - Link LLVM objects and libraries ---------===// -// +// // The LLVM Compiler Infrastructure // -// This file was developed by Reid Spencer and is distributed under the +// This file was developed by Reid Spencer and is distributed under the // University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This file contains routines to handle linking together LLVM bytecode files, @@ -21,7 +21,7 @@ using namespace llvm; bool Linker::LinkInItems(const ItemList& Items) { // For each linkage item ... - for (ItemList::const_iterator I = Items.begin(), E = Items.end(); + for (ItemList::const_iterator I = Items.begin(), E = Items.end(); I != E; ++I) { if (I->second) { // Link in the library suggested. @@ -38,7 +38,7 @@ Linker::LinkInItems(const ItemList& Items) { // that module should also be aggregated with duplicates eliminated. This is // now the time to process the dependent libraries to resolve any remaining // symbols. - for (Module::lib_iterator I = Composite->lib_begin(), + for (Module::lib_iterator I = Composite->lib_begin(), E = Composite->lib_end(); I != E; ++I) if(LinkInLibrary(*I)) return true; @@ -95,9 +95,9 @@ bool Linker::LinkInLibraries(const std::vector &Libraries) { // now the time to process the dependent libraries to resolve any remaining // symbols. const Module::LibraryListType& DepLibs = Composite->getLibraries(); - for (Module::LibraryListType::const_iterator I = DepLibs.begin(), - E = DepLibs.end(); I != E; ++I) - if (LinkInLibrary(*I)) + for (Module::LibraryListType::const_iterator I = DepLibs.begin(), + E = DepLibs.end(); I != E; ++I) + if (LinkInLibrary(*I)) return true; return false; @@ -130,7 +130,7 @@ bool Linker::LinkInFile(const sys::Path &File) { verbose("Linking bytecode file '" + File.toString() + "'"); std::auto_ptr M(LoadObject(File)); - if (M.get() == 0) + if (M.get() == 0) return error("Cannot load file '" + File.toString() + "'" + Error); if (LinkInModule(M.get())) return error("Cannot link file '" + File.toString() + "'" + Error); -- cgit v1.2.3