File tree Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Expand file tree Collapse file tree 1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -68,22 +68,24 @@ namespace swift {
68
68
Complete,
69
69
};
70
70
71
- // / Access or distribution level of a library.
71
+ // / Intended distribution level of a module.
72
+ // /
73
+ // / Ordered from more private to more public.
72
74
enum class LibraryLevel : uint8_t {
73
- // / Application Programming Interface that is publicly distributed so
74
- // / public decls are really public and only @_spi decls are SPI.
75
- API,
76
-
77
- // / System Programming Interface that has restricted distribution
78
- // / all decls in the module are considered to be SPI including public ones.
79
- SPI,
75
+ // / This isn't a library or the library distribution intent is unknown.
76
+ Other,
80
77
81
- // / Internal Programming Interface that is not distributed and only usable
82
- // / from within a project.
78
+ // / Internal Programming Interface: the module is not distributed and
79
+ // / only usable from within its project.
83
80
IPI,
84
81
85
- // / The library has some other undefined distribution.
86
- Other
82
+ // / System Programming Interface: the module has restricted distribution,
83
+ // / all public decls in the module are considered to be SPI.
84
+ SPI,
85
+
86
+ // / Application Programming Interface: the module is distributed publicly,
87
+ // / public decls are really public and only @_spi decls are SPI.
88
+ API,
87
89
};
88
90
89
91
enum class AccessNoteDiagnosticBehavior : uint8_t {
You can’t perform that action at this time.
0 commit comments