diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:12:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-09 06:12:26 +0000 |
commit | f7703df4968084c18c248c1feea9961c19a32e6a (patch) | |
tree | 5a3e4830177c09d61c4bf51e8d6ef6338d172196 /lib/Transforms/Utils/SimplifyCFG.cpp | |
parent | 21949d90881e89ab9c7b752f82f51577a1f0c095 (diff) |
Finegrainify namespacification
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils/SimplifyCFG.cpp')
-rw-r--r-- | lib/Transforms/Utils/SimplifyCFG.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Transforms/Utils/SimplifyCFG.cpp b/lib/Transforms/Utils/SimplifyCFG.cpp index 158d9119ae..b827123e60 100644 --- a/lib/Transforms/Utils/SimplifyCFG.cpp +++ b/lib/Transforms/Utils/SimplifyCFG.cpp @@ -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 |