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/analyze/analyze.cpp | |
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/analyze/analyze.cpp')
-rw-r--r-- | tools/analyze/analyze.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/analyze/analyze.cpp b/tools/analyze/analyze.cpp index 0ac7068..2e73e34 100644 --- a/tools/analyze/analyze.cpp +++ b/tools/analyze/analyze.cpp @@ -1,14 +1,14 @@ //===- analyze.cpp - The LLVM analyze utility -----------------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This utility is designed to print out the results of running various analysis -// passes on a program. This is useful for understanding a program, or for +// passes on a program. This is useful for understanding a program, or for // debugging an analysis pass. // // analyze --help - Output information about command line switches @@ -37,11 +37,11 @@ struct ModulePassPrinter : public ModulePass { virtual bool runOnModule(Module &M) { std::cout << "Printing analysis '" << PassToPrint->getPassName() << "':\n"; getAnalysisID<Pass>(PassToPrint).print(std::cout, &M); - + // Get and print pass... return false; } - + virtual const char *getPassName() const { return "'Pass' Printer"; } virtual void getAnalysisUsage(AnalysisUsage &AU) const { @@ -150,7 +150,7 @@ int main(int argc, char **argv) { // Create a new optimization pass for each one specified on the command line for (unsigned i = 0; i < AnalysesList.size(); ++i) { const PassInfo *Analysis = AnalysesList[i]; - + if (Analysis->getNormalCtor()) { Pass *P = Analysis->getNormalCtor()(); Passes.add(P); |