Skip to content

Commit 5d91574

Browse files
[NFC] Update ImportFilterKinds to match rename in Swift.
1 parent 156105b commit 5d91574

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8287,11 +8287,11 @@ bool SwiftASTContext::CacheUserImports(SwiftASTContext &swift_ast_context,
82878287
llvm::SmallVector<swift::ModuleDecl::ImportedModule, 2> parsed_imports;
82888288

82898289
swift::ModuleDecl::ImportFilter import_filter {
8290-
swift::ModuleDecl::ImportFilterKind::Public,
8291-
swift::ModuleDecl::ImportFilterKind::Private,
8290+
swift::ModuleDecl::ImportFilterKind::Exported,
8291+
swift::ModuleDecl::ImportFilterKind::Default,
82928292
swift::ModuleDecl::ImportFilterKind::ImplementationOnly,
82938293
swift::ModuleDecl::ImportFilterKind::SPIAccessControl,
8294-
swift::ModuleDecl::ImportFilterKind::ShadowedBySeparateOverlay
8294+
swift::ModuleDecl::ImportFilterKind::ShadowedByCrossImportOverlay
82958295
};
82968296

82978297
source_file.getImportedModules(parsed_imports, import_filter);

0 commit comments

Comments
 (0)