Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10727 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-01-09 06:12:26 +00:00
parent 21949d9088
commit f7703df496
17 changed files with 57 additions and 103 deletions

View File

@ -20,8 +20,7 @@
#include "llvm/Support/CFG.h"
#include <algorithm>
#include <functional>
namespace llvm {
using namespace llvm;
// PropagatePredecessors - This gets "Succ" ready to have the predecessors from
// "BB". This is a little tricky because "Succ" has PHI nodes, which need to
@ -98,7 +97,7 @@ static bool PropagatePredecessorsForPHIs(BasicBlock *BB, BasicBlock *Succ) {
//
// WARNING: The entry node of a function may not be simplified.
//
bool SimplifyCFG(BasicBlock *BB) {
bool llvm::SimplifyCFG(BasicBlock *BB) {
bool Changed = false;
Function *M = BB->getParent();
@ -300,5 +299,3 @@ bool SimplifyCFG(BasicBlock *BB) {
return Changed;
}
} // End llvm namespace