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
@@ -24,8 +24,7 @@
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
namespace llvm {
using namespace llvm;
static void insertInitializationCall(Function *MainFn, const char *FnName,
GlobalValue *Array) {
@@ -184,4 +183,3 @@ bool BlockProfiler::run(Module &M) {
return true;
}
} // End llvm namespace
@@ -25,8 +25,7 @@
#include "Support/StringExtras.h"
#include <algorithm>
#include <sstream>
namespace llvm {
using namespace llvm;
static cl::opt<bool>
DisablePtrHashing("tracedisablehashdisable", cl::Hidden,
@@ -112,11 +111,11 @@ namespace {
} // end anonymous namespace
Pass *createTraceValuesPassForFunction() { // Just trace functions
Pass *llvm::createTraceValuesPassForFunction() { // Just trace functions
return new FunctionTracer();
}
Pass *createTraceValuesPassForBasicBlocks() { // Trace BB's and functions
Pass *llvm::createTraceValuesPassForBasicBlocks() { // Trace BB's and functions
return new BasicBlockTracer();
}
@@ -435,5 +434,3 @@ bool InsertTraceCode::runOnFunction(Function &F) {
return true;
}
} // End llvm namespace