mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
AST: Remove some dead code
This commit is contained in:
@@ -346,7 +346,7 @@ void SourceLookupCache::invalidate() {
|
||||
ModuleDecl::ModuleDecl(Identifier name, ASTContext &ctx)
|
||||
: TypeDecl(DeclKind::Module, &ctx, name, SourceLoc(), { }),
|
||||
DeclContext(DeclContextKind::Module, nullptr),
|
||||
Flags({0, 0, 0}), DSOHandle(nullptr) {
|
||||
Flags({0, 0, 0}) {
|
||||
ctx.addDestructorCleanup(*this);
|
||||
setImplicit();
|
||||
setInterfaceType(ModuleType::get(this));
|
||||
|
||||
Reference in New Issue
Block a user