aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Dominators.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-05-22 21:47:17 +0000
committerChris Lattner <sabre@nondot.org>2003-05-22 21:47:17 +0000
commite3d3219f769cd35be19589f9958471c8848d9f12 (patch)
treef8079cf4b0f7f283e31fc55d8c5829970b14fd7d /lib/VMCore/Dominators.cpp
parent950273b3e750d40d8bc7a7971902829615e3ce24 (diff)
downloadexternal_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.cpp6
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);