[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
This commit is contained in:
Jonas Devlieghere
2019-06-12 22:17:38 +00:00
parent 781a0dc58d
commit ef96e985fc
8 changed files with 41 additions and 52 deletions

View File

@@ -67,7 +67,7 @@ public:
if (!loader)
return {};
FileSpec file = loader->GetFile<repro::CommandInfo>();
FileSpec file = loader->GetFile<repro::CommandProvider::Info>();
if (!file)
return {};