From 7b8f738227424f9c8105bf1db2bb067d596b228e Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 18 Mar 2013 22:34:00 +0000 Subject: 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 --- lldb/tools/lldb-perf/lib/Timer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/tools/lldb-perf/lib/Timer.h') diff --git a/lldb/tools/lldb-perf/lib/Timer.h b/lldb/tools/lldb-perf/lib/Timer.h index c877a3d3c9e..4f8ac15f943 100644 --- a/lldb/tools/lldb-perf/lib/Timer.h +++ b/lldb/tools/lldb-perf/lib/Timer.h @@ -15,7 +15,7 @@ using namespace std::chrono; -namespace lldb { namespace perf +namespace lldb_perf { class TimeGauge : public Gauge { @@ -51,6 +51,6 @@ public: double value (); }; -} } +} #endif /* defined(__PerfTestDriver__Timer__) */ -- cgit v1.2.3