summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-perf/lib/Metric.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-03-18 22:34:00 +0000
committerGreg Clayton <gclayton@apple.com>2013-03-18 22:34:00 +0000
commit7b8f738227424f9c8105bf1db2bb067d596b228e (patch)
treea4ab33043496478235852e5dc2eeb805bce7e1fb /lldb/tools/lldb-perf/lib/Metric.cpp
parent8fc340976d28b6719e66014496608a095e6f8ecd (diff)
downloadbcm5719-llvm-7b8f738227424f9c8105bf1db2bb067d596b228e.tar.gz
bcm5719-llvm-7b8f738227424f9c8105bf1db2bb067d596b228e.zip
Code cleanup:
- don't use preprocessor macros - use switch statements - don't put anything in the lldb namespace, use "lldb_perf" namespace. - Pass the action struct into each TestStep() for each step fill in - Modify the ActionWanted class to have accessors to make the continue, next, finish, kill instead of using preproc macros llvm-svn: 177332
Diffstat (limited to 'lldb/tools/lldb-perf/lib/Metric.cpp')
-rw-r--r--lldb/tools/lldb-perf/lib/Metric.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/tools/lldb-perf/lib/Metric.cpp b/lldb/tools/lldb-perf/lib/Metric.cpp
index 3791dd35409..ba56c033c15 100644
--- a/lldb/tools/lldb-perf/lib/Metric.cpp
+++ b/lldb/tools/lldb-perf/lib/Metric.cpp
@@ -12,7 +12,7 @@
#include "CFCMutableDictionary.h"
#include "CFCString.h"
-using namespace lldb::perf;
+using namespace lldb_perf;
template <class T>
Metric<T>::Metric () : Metric ("")
@@ -90,5 +90,5 @@ void Metric<T>::WriteImpl (CFCMutableArray& parent, identity<mach_vm_size_t>)
parent.AppendValue(dict.get(), true);
}
-template class lldb::perf::Metric<double>;
-template class lldb::perf::Metric<mach_vm_size_t>;
+template class lldb_perf::Metric<double>;
+template class lldb_perf::Metric<mach_vm_size_t>;
OpenPOWER on IntegriCloud