summaryrefslogtreecommitdiff
path: root/tools/llvm-ranlib
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-22 00:00:37 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-22 00:00:37 +0000
commit3da94aec4d429b2ba0f65fa040c33650cade196b (patch)
treef54f7eb8e1f7b75bc469c85c868c76b3860e0297 /tools/llvm-ranlib
parentfd93908ae8b9684fe71c239e3c6cfe13ff6a2663 (diff)
downloadllvm-3da94aec4d429b2ba0f65fa040c33650cade196b.tar.gz
llvm-3da94aec4d429b2ba0f65fa040c33650cade196b.tar.bz2
llvm-3da94aec4d429b2ba0f65fa040c33650cade196b.tar.xz
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21428 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-ranlib')
-rw-r--r--tools/llvm-ranlib/llvm-ranlib.cpp12
1 files changed, 6 insertions, 6 deletions
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<std::string>
+static cl::opt<std::string>
ArchiveName(cl::Positional, cl::Optional, cl::desc("<archive-file>"));
static cl::opt<bool>
@@ -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<Archive>
+ std::auto_ptr<Archive>
AutoArchive(Archive::OpenAndLoad(ArchivePath,&err_msg));
Archive* TheArchive = AutoArchive.get();
if (!TheArchive)