summaryrefslogtreecommitdiffstats
path: root/lldb/unittests/Utility/ReproducerTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests/Utility/ReproducerTest.cpp')
-rw-r--r--lldb/unittests/Utility/ReproducerTest.cpp16
1 files changed, 7 insertions, 9 deletions
diff --git a/lldb/unittests/Utility/ReproducerTest.cpp b/lldb/unittests/Utility/ReproducerTest.cpp
index 027b9ddb28e..a89812a03cb 100644
--- a/lldb/unittests/Utility/ReproducerTest.cpp
+++ b/lldb/unittests/Utility/ReproducerTest.cpp
@@ -19,23 +19,21 @@ using namespace llvm;
using namespace lldb_private;
using namespace lldb_private::repro;
-struct DummyInfo {
- static const char *name;
- static const char *file;
-};
-
-const char *DummyInfo::name = "dummy";
-const char *DummyInfo::file = "dummy.yaml";
-
class DummyProvider : public repro::Provider<DummyProvider> {
public:
- typedef DummyInfo info;
+ struct Info {
+ static const char *name;
+ static const char *file;
+ };
DummyProvider(const FileSpec &directory) : Provider(directory) {}
static char ID;
};
+const char *DummyProvider::Info::name = "dummy";
+const char *DummyProvider::Info::file = "dummy.yaml";
+
class DummyReproducer : public Reproducer {
public:
DummyReproducer() : Reproducer(){};
OpenPOWER on IntegriCloud