mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
AST: Move expensive generic signature checks to GenericSignature.cpp
This removes the final dependency on GenericSignatureBuilder.h.
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
#include "swift/AST/FileSystem.h"
|
||||
#include "swift/AST/FineGrainedDependencies.h"
|
||||
#include "swift/AST/FineGrainedDependencyFormat.h"
|
||||
#include "swift/AST/GenericSignatureBuilder.h"
|
||||
#include "swift/AST/GenericSignature.h"
|
||||
#include "swift/AST/IRGenOptions.h"
|
||||
#include "swift/AST/IRGenRequests.h"
|
||||
#include "swift/AST/NameLookup.h"
|
||||
@@ -469,7 +469,7 @@ static void verifyGenericSignaturesIfNeeded(const FrontendOptions &opts,
|
||||
if (verifyGenericSignaturesInModule.empty())
|
||||
return;
|
||||
if (auto module = Context.getModuleByName(verifyGenericSignaturesInModule))
|
||||
GenericSignatureBuilder::verifyGenericSignaturesInModule(module);
|
||||
swift::validateGenericSignaturesInModule(module);
|
||||
}
|
||||
|
||||
static bool dumpAndPrintScopeMap(const CompilerInstance &Instance,
|
||||
|
||||
Reference in New Issue
Block a user