diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:13:18 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:13:18 +0000 |
commit | 01808caded68f5b8939e5ebed01b2fecc94955f0 (patch) | |
tree | a5de79857a8dad40192bf1114cc1b4ce8b6e5b16 /llvm/lib/Analysis/IPA/CallGraph.cpp | |
parent | 13f332cd3fcc00c7867db24784a3018aada46835 (diff) | |
download | bcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.tar.gz bcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.zip |
Remove trailing whitespace
llvm-svn: 21416
Diffstat (limited to 'llvm/lib/Analysis/IPA/CallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/IPA/CallGraph.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/IPA/CallGraph.cpp b/llvm/lib/Analysis/IPA/CallGraph.cpp index 6ca23c662ac..3caafd92333 100644 --- a/llvm/lib/Analysis/IPA/CallGraph.cpp +++ b/llvm/lib/Analysis/IPA/CallGraph.cpp @@ -1,10 +1,10 @@ //===- CallGraph.cpp - Build a Module's call graph ------------------------===// -// +// // 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 file implements the CallGraph class. @@ -57,7 +57,7 @@ void CallGraph::addToCallGraph(Function *F) { Root = Node; // Found a main, keep track of it! } } - + // If this function is not defined in this translation unit, it could call // anything. if (F->isExternal() && !F->getIntrinsicID()) @@ -113,7 +113,7 @@ bool CallGraph::runOnModule(Module &M) { // If we didn't find a main function, use the external call graph node if (Root == 0) Root = ExternalCallingNode; - + return false; } @@ -148,7 +148,7 @@ void CallGraph::print(std::ostream &OS, const Module *M) const { OS << F->getName() << "\n"; else OS << "<<null function: 0x" << getRoot() << ">>\n"; - + for (CallGraph::const_iterator I = begin(), E = end(); I != E; ++I) I->second->print(OS); } |