diff options
author | Chris Lattner <sabre@nondot.org> | 2003-05-22 21:47:17 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-05-22 21:47:17 +0000 |
commit | e3d3219f769cd35be19589f9958471c8848d9f12 (patch) | |
tree | f8079cf4b0f7f283e31fc55d8c5829970b14fd7d /lib/VMCore/Dominators.cpp | |
parent | 950273b3e750d40d8bc7a7971902829615e3ce24 (diff) | |
download | external_llvm-e3d3219f769cd35be19589f9958471c8848d9f12.zip external_llvm-e3d3219f769cd35be19589f9958471c8848d9f12.tar.gz external_llvm-e3d3219f769cd35be19589f9958471c8848d9f12.tar.bz2 |
Remove using declarations and extraneous #includes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6303 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r-- | lib/VMCore/Dominators.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index be9984b..12d3eee 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -12,7 +12,6 @@ #include "llvm/Assembly/Writer.h" #include "Support/DepthFirstIterator.h" #include "Support/SetOperations.h" -using std::set; //===----------------------------------------------------------------------===// // DominatorSet Implementation @@ -127,8 +126,9 @@ void DominatorSet::recalculate() { } -static std::ostream &operator<<(std::ostream &o, const set<BasicBlock*> &BBs) { - for (set<BasicBlock*>::const_iterator I = BBs.begin(), E = BBs.end(); +static std::ostream &operator<<(std::ostream &o, + const std::set<BasicBlock*> &BBs) { + for (std::set<BasicBlock*>::const_iterator I = BBs.begin(), E = BBs.end(); I != E; ++I) { o << " "; WriteAsOperand(o, *I, false); |