diff options
author | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:31:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-08-27 22:31:12 +0000 |
commit | 43d64b85263ea44f021c933f0803198e04e2a76c (patch) | |
tree | 596d00211851a726d5baf66e16eee0e159a96f3d /lib/Analysis/DataStructure | |
parent | 5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 (diff) |
Fit to 80 cols
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure')
-rw-r--r-- | lib/Analysis/DataStructure/CallTargets.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/CallTargets.cpp b/lib/Analysis/DataStructure/CallTargets.cpp index eb1e28dcc6..8b33cb0cb1 100644 --- a/lib/Analysis/DataStructure/CallTargets.cpp +++ b/lib/Analysis/DataStructure/CallTargets.cpp @@ -58,8 +58,10 @@ void CallTargetFinder::findIndTargets(Module &M) } if (N->isComplete() && !IndMap[cs].size()) { ++CompleteEmpty; - std::cerr << "Call site empty: '" << cs.getInstruction()->getName() - << "' In '" << cs.getInstruction()->getParent()->getParent()->getName() + std::cerr << "Call site empty: '" + << cs.getInstruction()->getName() + << "' In '" + << cs.getInstruction()->getParent()->getParent()->getName() << "'\n"; } } else { @@ -74,7 +76,8 @@ void CallTargetFinder::print(std::ostream &O, const Module *M) const { return; O << "[* = incomplete] CS: func list\n"; - for (std::map<CallSite, std::vector<Function*> >::const_iterator ii = IndMap.begin(), + for (std::map<CallSite, std::vector<Function*> >::const_iterator ii = + IndMap.begin(), ee = IndMap.end(); ii != ee; ++ii) { if (!ii->first.getCalledFunction()) { //only print indirect if (!isComplete(ii->first)) { |