diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-12 22:17:38 +0000 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-06-12 22:17:38 +0000 |
commit | ef96e985fcceb096e8ab0e818641f7a9318c704a (patch) | |
tree | 0c7199fd0d42a7daf910f61f34ae51f386e6a4da /lldb/source/Initialization/SystemInitializerCommon.cpp | |
parent | 781a0dc58d4c2cfea20eb2a9c62db8ce869fbf15 (diff) | |
download | bcm5719-llvm-ef96e985fcceb096e8ab0e818641f7a9318c704a.tar.gz bcm5719-llvm-ef96e985fcceb096e8ab0e818641f7a9318c704a.zip |
[Reproducers] Simplify providers with nested Info struct (NFC)
This replaces the `info` typedef with a nested struct named Info. This
means we now have FooProvider and FooProvider::Info, instead of two
related but separate classes FooProvider and FooInfo. This change is
mostly cosmetic.
llvm-svn: 363211
Diffstat (limited to 'lldb/source/Initialization/SystemInitializerCommon.cpp')
-rw-r--r-- | lldb/source/Initialization/SystemInitializerCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Initialization/SystemInitializerCommon.cpp b/lldb/source/Initialization/SystemInitializerCommon.cpp index 75679560441..d805e0bdaa9 100644 --- a/lldb/source/Initialization/SystemInitializerCommon.cpp +++ b/lldb/source/Initialization/SystemInitializerCommon.cpp @@ -70,7 +70,7 @@ llvm::Error SystemInitializerCommon::Initialize() { // Initialize the file system. auto &r = repro::Reproducer::Instance(); if (repro::Loader *loader = r.GetLoader()) { - FileSpec vfs_mapping = loader->GetFile<FileInfo>(); + FileSpec vfs_mapping = loader->GetFile<FileProvider::Info>(); if (vfs_mapping) { if (llvm::Error e = FileSystem::Initialize(vfs_mapping)) return e; |