[ModuleInterfaces] ParseableInterfaceModuleLoader -> ModuleInterfaceLoader

Rename this class to better fit the user-facing name.
This commit is contained in:
Harlan Haskins
2019-09-13 13:40:01 -07:00
parent 2764e64cae
commit fafc5832fe
7 changed files with 49 additions and 48 deletions

View File

@@ -13,7 +13,7 @@
#include "gtest/gtest.h"
#include "swift/AST/ASTContext.h"
#include "swift/Frontend/Frontend.h"
#include "swift/Frontend/ParseableInterfaceModuleLoader.h"
#include "swift/Frontend/ModuleInterfaceLoader.h"
#include "swift/Frontend/PrintingDiagnosticConsumer.h"
#include "swift/Serialization/Validation.h"
#include "llvm/ADT/SmallString.h"
@@ -64,7 +64,7 @@ public:
}
};
class ParseableInterfaceModuleLoaderTest : public testing::Test {
class ModuleInterfaceLoaderTest : public testing::Test {
protected:
void setupAndLoadParseableModule() {
SmallString<256> tempDir;
@@ -99,7 +99,7 @@ protected:
SearchPathOptions searchPathOpts;
auto ctx = ASTContext::get(langOpts, searchPathOpts, sourceMgr, diags);
auto loader = ParseableInterfaceModuleLoader::create(
auto loader = ModuleInterfaceLoader::create(
*ctx, cacheDir, prebuiltCacheDir,
/*dependencyTracker*/nullptr,
ModuleLoadingMode::PreferSerialized);
@@ -138,7 +138,7 @@ protected:
}
};
TEST_F(ParseableInterfaceModuleLoaderTest, LoadModuleFromBuffer) {
TEST_F(ModuleInterfaceLoaderTest, LoadModuleFromBuffer) {
setupAndLoadParseableModule();
}