[llvm-commits] CVS: llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp TraceValues.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 9 00:13:26 PST 2004
Changes in directory llvm/lib/Transforms/Instrumentation:
BlockProfiling.cpp updated: 1.4 -> 1.5
TraceValues.cpp updated: 1.65 -> 1.66
---
Log message:
Finegrainify namespacification
---
Diffs of the changes: (+4 -9)
Index: llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp
diff -u llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp:1.4 llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp:1.5
--- llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp:1.4 Tue Nov 11 16:41:33 2003
+++ llvm/lib/Transforms/Instrumentation/BlockProfiling.cpp Fri Jan 9 00:11:48 2004
@@ -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 @@
return true;
}
-} // End llvm namespace
Index: llvm/lib/Transforms/Instrumentation/TraceValues.cpp
diff -u llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.65 llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.66
--- llvm/lib/Transforms/Instrumentation/TraceValues.cpp:1.65 Tue Nov 11 16:41:33 2003
+++ llvm/lib/Transforms/Instrumentation/TraceValues.cpp Fri Jan 9 00:11:50 2004
@@ -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 @@
} // 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 @@
return true;
}
-
-} // End llvm namespace
More information about the llvm-commits
mailing list