mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-20 10:24:12 +00:00
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10131 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -19,8 +19,7 @@
|
||||
#include "llvm/Assembly/Writer.h"
|
||||
#include "Support/DepthFirstIterator.h"
|
||||
#include "Support/SetOperations.h"
|
||||
|
||||
namespace llvm {
|
||||
using namespace llvm;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// DominatorSet Implementation
|
||||
@ -120,7 +119,7 @@ void DominatorSet::recalculate() {
|
||||
for (Function::iterator I = F->begin(), E = F->end(); I != E; ++I) Doms[I];
|
||||
}
|
||||
|
||||
|
||||
namespace llvm {
|
||||
static std::ostream &operator<<(std::ostream &o,
|
||||
const std::set<BasicBlock*> &BBs) {
|
||||
for (std::set<BasicBlock*>::const_iterator I = BBs.begin(), E = BBs.end();
|
||||
@ -131,6 +130,7 @@ static std::ostream &operator<<(std::ostream &o,
|
||||
o << " <<exit node>>";
|
||||
return o;
|
||||
}
|
||||
}
|
||||
|
||||
void DominatorSetBase::print(std::ostream &o) const {
|
||||
for (const_iterator I = begin(), E = end(); I != E; ++I) {
|
||||
@ -361,4 +361,3 @@ void DominanceFrontierBase::print(std::ostream &o) const {
|
||||
}
|
||||
}
|
||||
|
||||
} // End llvm namespace
|
||||
|
Reference in New Issue
Block a user