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 | d827d563f5f38b48718f701472fdc00ab1acff01 (patch) | |
tree | 4ef039aaedf8ea359e6587a714489cd6ca1eb9b9 /source/Initialization/SystemInitializerCommon.cpp | |
parent | 362b024a0ed8833c97d9e965c9df4ac2d8c39479 (diff) |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@363211 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'source/Initialization/SystemInitializerCommon.cpp')
-rw-r--r-- | source/Initialization/SystemInitializerCommon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/Initialization/SystemInitializerCommon.cpp b/source/Initialization/SystemInitializerCommon.cpp index 756795604..d805e0bda 100644 --- a/source/Initialization/SystemInitializerCommon.cpp +++ b/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; |