diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 00:00:37 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-22 00:00:37 +0000 |
commit | 3da94aec4d429b2ba0f65fa040c33650cade196b (patch) | |
tree | f54f7eb8e1f7b75bc469c85c868c76b3860e0297 /tools/llvm-bcanalyzer | |
parent | fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 (diff) | |
download | external_llvm-3da94aec4d429b2ba0f65fa040c33650cade196b.zip external_llvm-3da94aec4d429b2ba0f65fa040c33650cade196b.tar.gz external_llvm-3da94aec4d429b2ba0f65fa040c33650cade196b.tar.bz2 |
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-bcanalyzer')
-rw-r--r-- | tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp index b79b6fe..39131cf 100644 --- a/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp +++ b/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp @@ -1,10 +1,10 @@ //===-- llvm-bcanalyzer.cpp - Byte Code Analyzer --------------------------===// -// +// // 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 tool may be invoked in the following manner: @@ -13,20 +13,20 @@ // // Options: // --help - Output information about command line switches -// --nodetails - Don't print out detailed informaton about individual +// --nodetails - Don't print out detailed informaton about individual // blocks and functions // --dump - Dump low-level bytecode structure in readable format // // This tool provides analytical information about a bytecode file. It is // intended as an aid to developers of bytecode reading and writing software. It -// produces on std::out a summary of the bytecode file that shows various +// produces on std::out a summary of the bytecode file that shows various // statistics about the contents of the file. By default this information is // detailed and contains information about individual bytecode blocks and the -// functions in the module. To avoid this more detailed output, use the +// functions in the module. To avoid this more detailed output, use the // -nodetails option to limit the output to just module level information. -// The tool is also able to print a bytecode file in a straight forward text -// format that shows the containment and relationships of the information in -// the bytecode file (-dump option). +// The tool is also able to print a bytecode file in a straight forward text +// format that shows the containment and relationships of the information in +// the bytecode file (-dump option). //===----------------------------------------------------------------------===// #include "llvm/Analysis/Verifier.h" @@ -48,10 +48,10 @@ static cl::opt<bool> NoDetails ("nodetails", cl::desc("Skip detailed output")); static cl::opt<bool> Dump ("dump", cl::desc("Dump low level bytecode trace")); static cl::opt<bool> Verify ("verify", cl::desc("Progressively verify module")); -int +int main(int argc, char **argv) { try { - cl::ParseCommandLineOptions(argc, argv, + cl::ParseCommandLineOptions(argc, argv, " llvm-bcanalyzer Analysis of ByteCode Dumper\n"); sys::PrintStackTraceOnErrorSignal(); @@ -78,7 +78,7 @@ main(int argc, char **argv) { } catch (std::string& errmsg ) { verificationMsg = errmsg; } - if ( verificationMsg.length() > 0 ) + if ( verificationMsg.length() > 0 ) std::cerr << "Final Verification Message: " << verificationMsg << "\n"; } @@ -88,7 +88,7 @@ main(int argc, char **argv) { std::cerr << argv[0] << ": " << ErrorMessage << "\n"; return 1; } - + if (Out != &std::cout) { ((std::ofstream*)Out)->close(); |