Skip to content

Commit 3847c34

Browse files
committed
AST: Clean up ImportFilterKind comments.
NFC.
1 parent fb86a72 commit 3847c34

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

include/swift/AST/Module.h

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -934,16 +934,13 @@ class ModuleDecl
934934
enum class ImportFilterKind {
935935
/// Include imports declared with `@_exported`.
936936
Exported = 1 << 0,
937-
/// Include "regular" imports with an access-level of `public`.
937+
/// Include "regular" imports with an effective access level of `public`.
938938
Default = 1 << 1,
939939
/// Include imports declared with `@_implementationOnly`.
940940
ImplementationOnly = 1 << 2,
941-
/// Include imports declared with `package import`.
941+
/// Include imports declared with an access level of `package`.
942942
PackageOnly = 1 << 3,
943-
/// Include imports marked `internal` or lower. These differs form
944-
/// implementation-only imports by stricter type-checking and loading
945-
/// policies. At this moment, we can group them under the same category
946-
/// as they have the same loading behavior.
943+
/// Include imports with an effective access level of `internal` or lower.
947944
InternalOrBelow = 1 << 4,
948945
/// Include imports declared with `@_spiOnly`.
949946
SPIOnly = 1 << 5,

0 commit comments

Comments
 (0)