Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10725 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-01-09 06:02:20 +00:00
parent 559d519549
commit d745602662
14 changed files with 37 additions and 80 deletions
+2 -4
View File
@@ -19,8 +19,7 @@
#include "llvm/Function.h"
#include "llvm/Target/TargetData.h"
#include "Support/Statistic.h"
namespace llvm {
using namespace llvm;
namespace {
Statistic<> NumPromoted("mem2reg", "Number of alloca's promoted");
@@ -77,8 +76,7 @@ bool PromotePass::runOnFunction(Function &F) {
// createPromoteMemoryToRegister - Provide an entry point to create this pass.
//
Pass *createPromoteMemoryToRegister() {
Pass *llvm::createPromoteMemoryToRegister() {
return new PromotePass();
}
} // End llvm namespace