summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBDebugger.cpp2
-rw-r--r--lldb/source/API/SBReproducer.cpp6
-rw-r--r--lldb/source/API/SBReproducerPrivate.h10
3 files changed, 8 insertions, 10 deletions
diff --git a/lldb/source/API/SBDebugger.cpp b/lldb/source/API/SBDebugger.cpp
index c60774c9fa7..7af83324e9f 100644
--- a/lldb/source/API/SBDebugger.cpp
+++ b/lldb/source/API/SBDebugger.cpp
@@ -67,7 +67,7 @@ public:
if (!loader)
return {};
- FileSpec file = loader->GetFile<repro::CommandInfo>();
+ FileSpec file = loader->GetFile<repro::CommandProvider::Info>();
if (!file)
return {};
diff --git a/lldb/source/API/SBReproducer.cpp b/lldb/source/API/SBReproducer.cpp
index 5cd7802062b..439ee5a7046 100644
--- a/lldb/source/API/SBReproducer.cpp
+++ b/lldb/source/API/SBReproducer.cpp
@@ -136,7 +136,7 @@ const char *SBReproducer::Replay(const char *path) {
return error.c_str();
}
- FileSpec file = loader->GetFile<SBInfo>();
+ FileSpec file = loader->GetFile<SBProvider::Info>();
if (!file) {
error = "unable to get replay data from reproducer.";
return error.c_str();
@@ -149,5 +149,5 @@ const char *SBReproducer::Replay(const char *path) {
}
char lldb_private::repro::SBProvider::ID = 0;
-const char *SBInfo::name = "sbapi";
-const char *SBInfo::file = "sbapi.bin";
+const char *SBProvider::Info::name = "sbapi";
+const char *SBProvider::Info::file = "sbapi.bin";
diff --git a/lldb/source/API/SBReproducerPrivate.h b/lldb/source/API/SBReproducerPrivate.h
index cb7c2d8f890..84b6ce967c0 100644
--- a/lldb/source/API/SBReproducerPrivate.h
+++ b/lldb/source/API/SBReproducerPrivate.h
@@ -30,14 +30,12 @@ public:
SBRegistry();
};
-struct SBInfo {
- static const char *name;
- static const char *file;
-};
-
class SBProvider : public Provider<SBProvider> {
public:
- typedef SBInfo info;
+ struct Info {
+ static const char *name;
+ static const char *file;
+ };
SBProvider(const FileSpec &directory)
: Provider(directory),
OpenPOWER on IntegriCloud