From 3da94aec4d429b2ba0f65fa040c33650cade196b Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Fri, 22 Apr 2005 00:00:37 +0000 Subject: Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ranlib/llvm-ranlib.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/llvm-ranlib/llvm-ranlib.cpp') diff --git a/tools/llvm-ranlib/llvm-ranlib.cpp b/tools/llvm-ranlib/llvm-ranlib.cpp index 70d5cf8abf..e2fbf7d55d 100644 --- a/tools/llvm-ranlib/llvm-ranlib.cpp +++ b/tools/llvm-ranlib/llvm-ranlib.cpp @@ -1,10 +1,10 @@ //===-- llvm-ranlib.cpp - LLVM archive index generator --------------------===// -// +// // 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. -// +// //===----------------------------------------------------------------------===// // // Adds or updates an index (symbol table) for an LLVM archive file. @@ -21,7 +21,7 @@ using namespace llvm; // llvm-ar operation code and modifier flags -static cl::opt +static cl::opt ArchiveName(cl::Positional, cl::Optional, cl::desc("")); static cl::opt @@ -32,7 +32,7 @@ Verbose("verbose",cl::Optional,cl::init(false), void printSymbolTable(Archive* TheArchive) { std::cout << "\nArchive Symbol Table:\n"; const Archive::SymTabType& symtab = TheArchive->getSymbolTable(); - for (Archive::SymTabType::const_iterator I=symtab.begin(), E=symtab.end(); + for (Archive::SymTabType::const_iterator I=symtab.begin(), E=symtab.end(); I != E; ++I ) { unsigned offset = TheArchive->getFirstFileOffset() + I->second; std::cout << " " << std::setw(9) << offset << "\t" << I->first <<"\n"; @@ -67,7 +67,7 @@ int main(int argc, char **argv) { throw std::string("Archive file does not exist"); std::string err_msg; - std::auto_ptr + std::auto_ptr AutoArchive(Archive::OpenAndLoad(ArchivePath,&err_msg)); Archive* TheArchive = AutoArchive.get(); if (!TheArchive) -- cgit v1.2.3